Removed inappropriate uses of const on the be_verbose() functions.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404186
This commit is contained in:
Davis King 2011-03-23 00:39:39 +00:00
parent 926c2afa6f
commit 514e0f3853
2 changed files with 10 additions and 10 deletions

View File

@ -44,8 +44,8 @@ namespace dlib
);
}
const objective_delta_stop_strategy& be_verbose(
) const
objective_delta_stop_strategy& be_verbose(
)
{
_verbose = true;
return *this;
@ -83,7 +83,7 @@ namespace dlib
}
private:
mutable bool _verbose;
bool _verbose;
bool _been_used;
double _min_delta;
@ -123,8 +123,8 @@ namespace dlib
);
}
const gradient_norm_stop_strategy& be_verbose(
) const
gradient_norm_stop_strategy& be_verbose(
)
{
_verbose = true;
return *this;
@ -158,7 +158,7 @@ namespace dlib
}
private:
mutable bool _verbose;
bool _verbose;
double _min_norm;
unsigned long _max_iter;

View File

@ -53,8 +53,8 @@ namespace dlib
executed.
!*/
const objective_delta_stop_strategy& be_verbose(
) const;
objective_delta_stop_strategy& be_verbose(
);
/*!
ensures
- causes this object to print status messages to standard out
@ -120,8 +120,8 @@ namespace dlib
max_iter iterations has been executed.
!*/
const gradient_norm_stop_strategy& be_verbose(
) const;
gradient_norm_stop_strategy& be_verbose(
);
/*!
ensures
- causes this object to print status messages to standard out