Commit 28639b65 authored by Guillaume Pasero's avatar Guillaume Pasero

ENH: two boolean constants

parent f860368f
......@@ -51,6 +51,9 @@ namespace Utils
/** Function that prints nothing (useful to disable libsvm logs)*/
void OTBCommon_EXPORT PrintNothing(const char *s);
extern OTBCommon_EXPORT bool const TrueConstant;
extern OTBCommon_EXPORT bool const FalseConstant;
}
} // namespace otb
......
......@@ -41,6 +41,10 @@ void PrintNothing(const char * /* s */)
{
}
bool const TrueConstant = true;
bool const FalseConstant = false;
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment