Skip to contentSkip to conversation

Allow compilation with C++11

PATCH New Magnus Fromreide 1 participant 1 message May 8, 2014

lore
Share & tools
lore

Magnus Fromreide

author
#0 lore raw

PATCH 1/1 Allow compilation with C++11

In C++11 "string"Identifier is seen as a user-defined literal. Add a space to make it clear that this isn't what is meant here.

Signed-off-by Magnus Fromreide <magfr(a)lysator.liu.se>
---
 src/lib.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/lib.h +1 -1
index adcc4a2..1777a36 100644
@@ -35,7 +35,7 @@
 
 #define _(STRING)    gettext(STRING)
 
-#define POWERTOP_VERSION "v"PACKAGE_VERSION
+#define POWERTOP_VERSION "v" PACKAGE_VERSION
 #define POWERTOP_SHORT_VERSION PACKAGE_VERSION
 
 extern int is_turbo(uint64_t freq, uint64_t max, uint64_t maxmo);
Signature · 1 line
2.0.0.rc0