Browse Source

fixing reoccuring preprocessor directives

Sven Sickert 9 năm trước cách đây
mục cha
commit
95b2a75888
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 6 1
      semseg/SemanticSegmentation.h

+ 6 - 1
semseg/SemanticSegmentation.h

@@ -21,10 +21,15 @@
 #include "vislearning/cbaselib/CachedExample.h"
 #include "vislearning/cbaselib/Example.h"
 
-
+#ifndef ROADWORKSADD
 #define ROADWORKSADD fthrow(NICE::Exception, "addNewExample(const NICE::Vector & newExample, const int & newClassNo): not yet implemented!");
+#endif
+#ifndef ROADWORKSADDNOVEL
 #define ROADWORKSADDNOVEL fthrow(NICE::Exception, "addNovelExamples(): not yet implemented!");
+#endif
+#ifndef ROADWORKSGETNOVEL
 #define ROADWORKSGETNOVEL fthrow(NICE::Exception, "getNovelExamples(): not yet implemented!");
+#endif
 
 namespace OBJREC
 {