Skip to content

Commit 600637a

Browse files
committed
Fix Cppcheck warning; make ImportProject::FileSettings::parseCommandDefine() static
1 parent 4096310 commit 600637a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/importproject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class CPPCHECKLIB ImportProject {
7979
void parseCommand(const std::string &command);
8080

8181
void parseCommandStd(const std::string& command, std::string::size_type *pos, std::string& defs);
82-
void parseCommandDefine(const std::string& command, std::string::size_type *pos, std::string& defs);
82+
static void parseCommandDefine(const std::string& command, std::string::size_type *pos, std::string& defs);
8383
void parseCommandUndefine(const std::string& command, std::string::size_type *pos);
8484
void parseCommandInclude(const std::string& command, std::string::size_type *pos);
8585
void parseCommandSystemInclude(const std::string& command, std::string::size_type *pos);

0 commit comments

Comments
 (0)