Adding policy dynamic checks on skeleton and stub that has callback objects
[iot2.git] / iotjava / iotrmi / C++ / sample / TestClass_Skeleton.hpp
index 9ea8bab47648fa0dd3667c3a7b3e415f2c51be18..c42f31a1fdfc4eabd1393a8a992b4c0cef2c8a8f 100644 (file)
@@ -52,7 +52,7 @@ class TestClass_Skeleton : public TestClassInterface {
                TestClassInterface                      *tc;
                IoTRMIObject                            *rmiObj;
                // Permission setup
-               const static int                        object0Id;
+               const static int                        object0Id = 0;
                //const static int                      object0Permission[];
                const static set<int>           set0Allowed;
                
@@ -64,7 +64,7 @@ class TestClass_Skeleton : public TestClassInterface {
 
 
 // Permission setup
-const int TestClass_Skeleton::object0Id = 0;
+//const int TestClass_Skeleton::object0Id = 0;
 //const int TestClass_Skeleton::object0Permission[] = {0, 1, 2, 3, 4, 5};
 const set<int> TestClass_Skeleton::set0Allowed {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12};