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:
Bryan Schumaker 2012-03-10 10:40:48 -05:00 committed by Bryan Schumaker
parent 5817effdde
commit 698d449c34
1 changed files with 1 additions and 1 deletions

View File

@ -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;