浏览代码

fixing reoccuring preprocessor directives

Sven Sickert 9 年之前
父节点
当前提交
95b2a75888
共有 1 个文件被更改,包括 6 次插入1 次删除
  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
 {