Просмотр исходного кода

fixing reoccuring preprocessor directives

Sven Sickert 9 лет назад
Родитель
Сommit
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
 {