소스 검색

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
 {