From 96521495f8c0070537be42c97f8fcbe55ec3990f Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 31 Jul 2008 14:05:28 +0000 Subject: most love valgrind --- src/core/cvar.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/core/cvar.h') diff --git a/src/core/cvar.h b/src/core/cvar.h index b8e406c..d934872 100644 --- a/src/core/cvar.h +++ b/src/core/cvar.h @@ -27,7 +27,7 @@ public: enum Flags {Archive=1, ReadOnly=2, Game=4, Info=8}; /// create a new variable - Cvar(const char *name, unsigned int flags = 0); + Cvar(const char *name, const unsigned int flags = 0); /*----- inspectors ------------------------------------------------ */ @@ -70,26 +70,26 @@ public: * its value will not be changed. If the cvar does not exist, * it will be created */ - static Cvar *get(const char *name, const char *value, unsigned int flags=0); + static Cvar *get(const char *name, const char *value, const unsigned int flags=0); /// get a cvar value from the registry /** If the a cvar with the given name already exists in the registry, * its value will not be changed. If the cvar does not exist, * it will be created */ - static Cvar *get(const char *name, float value, unsigned int flags=0); + static Cvar *get(const char *name, float value, const unsigned int flags=0); /// set a cvar value /** If the a cvar with the given name already exists in the registry, * its value will be replaced */ - static Cvar *set(const char *name, const char *value, unsigned int flags=0); + static Cvar *set(const char *name, const char *value, const unsigned int flags=0); /// set a cvar value /** If the a cvar with the given name already exists in the registry, * its value will be replaced */ - static Cvar *set(const char *name, float value, unsigned int flags=0); + static Cvar *set(const char *name, float value, const unsigned int flags=0); /// delete a cvar from the registry static void unset(const char *name); -- cgit v1.2.3