summaryrefslogtreecommitdiffstats
path: root/tests/libsample/abstract.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/abstract.cpp')
-rw-r--r--tests/libsample/abstract.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libsample/abstract.cpp b/tests/libsample/abstract.cpp
index e81d2cb8..f1f26421 100644
--- a/tests/libsample/abstract.cpp
+++ b/tests/libsample/abstract.cpp
@@ -38,6 +38,8 @@
using namespace std;
+const int Abstract::staticPrimitiveField = 0;
+
Abstract::Abstract(int id) : m_id(id)
{
primitiveField = 123;