Sync with 5.2.0
[deliverable/titan.core.git] / core / Array.hh
index a85ab09ddc0517b463156a4ca815c96154feb56d..bfbfde7ead30ae240e0763ac08febdb36af47b93 100644 (file)
@@ -85,6 +85,13 @@ public:
     }
     TTCN_Logger::log_event_str(" }");
   }
+  
+#ifdef TITAN_RUNTIME_2
+  // Dummy functions, only used in record of/set of in RT2 (the referenced indices
+  // cannot be deleted, since arrays have a fixed size)
+  void add_refd_index(int) {}
+  void remove_refd_index(int) {}
+#endif
 };
 
 extern unsigned int get_port_array_index(int index_value,
@@ -145,6 +152,13 @@ public:
     }
     TTCN_Logger::log_event_str(" }");
   }
+  
+#ifdef TITAN_RUNTIME_2
+  // Dummy functions, only used in record of/set of in RT2 (the referenced indices
+  // cannot be deleted, since arrays have a fixed size)
+  void add_refd_index(int) {}
+  void remove_refd_index(int) {}
+#endif
 };
 
 ////////////////////////////////////////////////////////////////////////////////
@@ -227,10 +241,12 @@ public:
     * Returns the length of the decoded data. */
   int JSON_decode(const TTCN_Typedescriptor_t&, JSON_Tokenizer&, boolean);
   
-  // Dummy functions, only used in record of/set of (the referenced indices
+#ifdef TITAN_RUNTIME_2
+  // Dummy functions, only used in record of/set of in RT2 (the referenced indices
   // cannot be deleted, since arrays have a fixed size)
   void add_refd_index(int) {}
   void remove_refd_index(int) {}
+#endif
 };
 
 template <typename T_type, unsigned int array_size, int index_offset>
This page took 0.032754 seconds and 5 git commands to generate.