Skip to content

Commit

Permalink
Fix errors compiling with std=c++11
Browse files Browse the repository at this point in the history
C++11 requires a space after a string literal being concatenated

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
  • Loading branch information
badone committed Jun 19, 2016
1 parent 356973d commit 817e66f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/pcp-cpp/pmda.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<string_vector>(); \
const string_vector &filenames = options.at("export-" type).as<string_vector>(); \
for (string_vector::const_iterator iter = filenames.begin(); iter != filenames.end(); ++iter) { \
func(*iter); \
} \
Expand Down

0 comments on commit 817e66f

Please sign in to comment.