From 817e66f0ba5bf94cb2234216b33ebf86fba86bc0 Mon Sep 17 00:00:00 2001 From: Brad Hubbard Date: Sun, 19 Jun 2016 13:34:52 +1000 Subject: [PATCH] Fix errors compiling with std=c++11 C++11 requires a space after a string literal being concatenated Signed-off-by: Brad Hubbard --- include/pcp-cpp/pmda.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/pcp-cpp/pmda.hpp b/include/pcp-cpp/pmda.hpp index 34c4e5f..351111b 100644 --- a/include/pcp-cpp/pmda.hpp +++ b/include/pcp-cpp/pmda.hpp @@ -517,11 +517,11 @@ class pmda { // Check if any of the export flags were given. bool exported = false; #define PCP_CPP_EXPORT(type, func) \ - if (options.count("export-"type) > 0) { \ + if (options.count("export-" type) > 0) { \ if (supported_metrics.empty()) { \ supported_metrics = get_supported_metrics(); \ } \ - const string_vector &filenames = options.at("export-"type).as(); \ + const string_vector &filenames = options.at("export-" type).as(); \ for (string_vector::const_iterator iter = filenames.begin(); iter != filenames.end(); ++iter) { \ func(*iter); \ } \