[Orxonox-commit 5693] r10353 - code/branches/core7/src/libraries/core/commandline
landauf at orxonox.net
landauf at orxonox.net
Wed Apr 8 23:15:43 CEST 2015
Author: landauf
Date: 2015-04-08 23:15:43 +0200 (Wed, 08 Apr 2015)
New Revision: 10353
Modified:
code/branches/core7/src/libraries/core/commandline/CommandLineIncludes.h
Log:
detail
Modified: code/branches/core7/src/libraries/core/commandline/CommandLineIncludes.h
===================================================================
--- code/branches/core7/src/libraries/core/commandline/CommandLineIncludes.h 2015-04-08 21:15:11 UTC (rev 10352)
+++ code/branches/core7/src/libraries/core/commandline/CommandLineIncludes.h 2015-04-08 21:15:43 UTC (rev 10353)
@@ -48,7 +48,7 @@
#define SetCommandLineArgument(name, defaultValue) \
orxonox::CommandLineArgument& CmdArgumentDummyBoolVar##name \
- = (new orxonox::StaticallyInitializedCommandLineArgument(new orxonox::CommandLineArgument(#name, defaultValue)))->getArgument()
+ = (new orxonox::SI_CLA(new orxonox::CommandLineArgument(#name, defaultValue)))->getArgument()
#define SetCommandLineSwitch(name) \
SetCommandLineArgument(name, false)
@@ -68,6 +68,8 @@
private:
CommandLineArgument* argument_;
};
+
+ typedef StaticallyInitializedCommandLineArgument SI_CLA;
}
#endif /* _CommandLineIncludes_H__ */
More information about the Orxonox-commit
mailing list