From d53b958cd2a1be0d1e1639f82fe7de807fb76747 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 21 Mar 2018 23:41:16 +0000 Subject: Stage solution to clang creating a bogus(?) error about visibility pragma --- slicer/slicer/metadata.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slicer/slicer/metadata.h b/slicer/slicer/metadata.h index b14803c..fb3e1d3 100644 --- a/slicer/slicer/metadata.h +++ b/slicer/slicer/metadata.h @@ -6,8 +6,8 @@ #include #include -#pragma GCC visibility push(default) namespace Slicer { +#pragma GCC visibility push(default) // Flags bool metaDataFlagSet(const std::list &, const std::string & flag); bool metaDataFlagNotSet(const std::list &, const std::string & flag); @@ -15,8 +15,8 @@ namespace Slicer { boost::optional metaDataValue(const std::string & prefix, const std::list & metadata); std::list metaDataValues(const std::string & prefix, const std::list & metadata); std::vector metaDataSplit(const std::string & metadata); -} #pragma GCC visibility pop +} #endif -- cgit v1.2.3