Internals: Fix some -Wsuggest-attribute=const suggestions.

This commit is contained in:
Wilson Snyder
2019-05-14 21:46:19 -04:00
parent 8ad1a68420
commit 1fb0af7fba
5 changed files with 9 additions and 12 deletions
+5 -5
View File
@@ -327,8 +327,11 @@ public:
class V3GraphTestImport : public V3GraphTest {
// cppcheck-suppress functionConst
#ifdef GRAPH_IMPORT
void dotImport();
#else
void dotImport() {}
#endif
public:
virtual string name() { return "import"; }
@@ -344,11 +347,8 @@ public:
}
};
#if 0
#ifdef GRAPH_IMPORT
# include "graph_export.cpp"
#else
void V3GraphTestImport::dotImport() {
}
#endif
//======================================================================