Skip to content

Commit 2642a84

Browse files
author
Vano
committed
incorrect suppress warning fix
1 parent e2402d8 commit 2642a84

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/src/example.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,4 @@ class ExampleTemplated : public Object {
217217
T get_number();
218218
};
219219

220-
// To suppress warning: instantiation of variable 'ExampleTemplated<int>::_template_class_name' required here, but no definition is available [-Wundefined-var-template]
221-
template <typename T>
222-
const char *ExampleTemplated<T>::_template_class_name;
223-
224220
#endif // EXAMPLE_CLASS_H

0 commit comments

Comments
 (0)