summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-03-21 23:41:16 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2018-03-21 23:41:16 +0000
commitd53b958cd2a1be0d1e1639f82fe7de807fb76747 (patch)
tree3aaafb0da67074c7f36fa397d87f51e4bfa62286
parentShuffle some code around to make bimap unrequired in modelParts.h (diff)
downloadslicer-d53b958cd2a1be0d1e1639f82fe7de807fb76747.tar.bz2
slicer-d53b958cd2a1be0d1e1639f82fe7de807fb76747.tar.xz
slicer-d53b958cd2a1be0d1e1639f82fe7de807fb76747.zip
Stage solution to clang creating a bogus(?) error about visibility pragma
-rw-r--r--slicer/slicer/metadata.h4
1 files 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 <vector>
#include <boost/optional.hpp>
-#pragma GCC visibility push(default)
namespace Slicer {
+#pragma GCC visibility push(default)
// Flags
bool metaDataFlagSet(const std::list<std::string> &, const std::string & flag);
bool metaDataFlagNotSet(const std::list<std::string> &, const std::string & flag);
@@ -15,8 +15,8 @@ namespace Slicer {
boost::optional<std::string> metaDataValue(const std::string & prefix, const std::list<std::string> & metadata);
std::list<std::string> metaDataValues(const std::string & prefix, const std::list<std::string> & metadata);
std::vector<std::string> metaDataSplit(const std::string & metadata);
-}
#pragma GCC visibility pop
+}
#endif