| # | 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 | }; | |
| – | Removed lines | 
| + | Added lines | 
| < | Changed lines | 
| > | Changed lines |