ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/io/ParamConstraint.hpp
(Generate patch)

Comparing branches/development/src/io/ParamConstraint.hpp (file contents):
Revision 1873 by gezelter, Wed Feb 20 15:39:39 2013 UTC vs.
Revision 1874 by gezelter, Wed May 15 15:09:35 2013 UTC

# Line 60 | Line 60 | namespace OpenMD {
60    struct NotEmptyConstraint : public ParamConstraintFacade<NotEmptyConstraint>{
61      
62      NotEmptyConstraint() { description_= "nonempty";}
63 <    bool operator()( const std::string data ) const {
63 >    bool operator()( const std::string &data ) const {
64        return !data.empty();
65      }
66    };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines