Created
June 22, 2011 09:53
-
-
Save nazgob/1039787 to your computer and use it in GitHub Desktop.
cppcheck false positive / unused private function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Foo | |
{ | |
public: | |
Foo& operator++(); | |
private: | |
void Bar() const { | |
} | |
}; | |
Foo& Foo::operator++() | |
{ | |
Bar(); | |
return *this; | |
} | |
// [unused_private_function.cpp:6]: (style) Unused private function 'Foo::Bar' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment