Nyx (Neal Orman) 2010-11-29 17:21:12 -05:00
commit b6dc4a4bf1
1 changed files with 7 additions and 2 deletions

View File

@ -53,7 +53,7 @@
namespace po = boost::program_options;
// *NTOE:MEP - Currently the boost object reside in file scope.
// *NOTE:MEP - Currently the boost object reside in file scope.
// This has a couple of negatives, they are always around and
// there can be only one instance of each.
// The plus is that the boost-ly-ness of this implementation is
@ -156,6 +156,12 @@ public:
return mIsComposing;
}
// Needed for boost 1.42
virtual bool is_required() const
{
return false; // All our command line options are optional.
}
virtual bool apply_default(boost::any& value_store) const
{
return false; // No defaults.
@ -169,7 +175,6 @@ public:
{
mNotifyCallback(*value);
}
}
protected: