diff --git a/parse.cpp b/parse.cpp index aa24883..131c502 100644 --- a/parse.cpp +++ b/parse.cpp @@ -123,7 +123,7 @@ void showTasks( stringstream& ss, const vector& tasks ) { cout << " " << t.getName() << " - " << t.getPriority() << " : "; for ( const string& tag : t.getTags() ) { - if ( !noPrint(tag) ) + if ( !hiddenTag(tag) ) cout << tag << ", "; } cout << endl; @@ -186,7 +186,7 @@ void removeTags( stringstream& ss, vector& tasks ) { } -bool noPrint( const string& tag ) { +bool hiddenTag( const string& tag ) { if ( tag == "all" ) { return true; } else if ( tag == "finished" ) { diff --git a/parse.h b/parse.h index 812fc00..34e969d 100644 --- a/parse.h +++ b/parse.h @@ -34,6 +34,6 @@ void addTags( stringstream& ss, vector& tasks ); void removeTags( stringstream& ss, vector& tasks ); -bool noPrint( const string& tag ); +bool hiddenTag( const string& tag ); #endif