Procházet zdrojové kódy

fixing reoccuring preprocessor directives

Sven Sickert před 9 roky
rodič
revize
95b2a75888
1 změnil soubory, kde provedl 6 přidání a 1 odebrání
  1. 6 1
      semseg/SemanticSegmentation.h

+ 6 - 1
semseg/SemanticSegmentation.h

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