vers_str() needs to be static inline
Otherwise we could possibly have multiple definitions of it. Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
parent
5817effdde
commit
698d449c34
|
@ -16,7 +16,7 @@ static bool IS_DEBUG = true;
|
|||
static bool IS_DEBUG = false;
|
||||
#endif /* DEBUG */
|
||||
|
||||
string vers_str()
|
||||
static inline string vers_str()
|
||||
{
|
||||
stringstream stream;
|
||||
stream << MAJOR << "." << MINOR;
|
||||
|
|
Loading…
Reference in New Issue