summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-09-03 01:00:20 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-09-03 01:00:20 +0100
commitcc57158c310ee962cf5a7caf7d612fb53ff8b783 (patch)
tree5149c73c06fc96bac2979988badf852a0cb85004
parentTidy Ice dependency (diff)
downloadlibadhocutil-cc57158c310ee962cf5a7caf7d612fb53ff8b783.tar.bz2
libadhocutil-cc57158c310ee962cf5a7caf7d612fb53ff8b783.tar.xz
libadhocutil-cc57158c310ee962cf5a7caf7d612fb53ff8b783.zip
Be explicit about type names in the AdHoc namespace
-rw-r--r--libadhocutil/nvpParse.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libadhocutil/nvpParse.h b/libadhocutil/nvpParse.h
index 403a6de..185ec60 100644
--- a/libadhocutil/nvpParse.h
+++ b/libadhocutil/nvpParse.h
@@ -58,8 +58,8 @@ class NvpParse : public yyFlexLexer {
};
/// @endcond
-#define NvpTarget(T) std::map<std::string, boost::shared_ptr<NvpParse::TargetBase<T>>>
-#define NvpValue(c, m) { #m, boost::shared_ptr<NvpParse::Target<c, decltype(c::m)>>(new NvpParse::Target<c, decltype(c::m)>(&c::m)) }
+#define NvpTarget(T) std::map<std::string, boost::shared_ptr<::AdHoc::NvpParse::TargetBase<T>>>
+#define NvpValue(c, m) { #m, boost::shared_ptr<::AdHoc::NvpParse::Target<c, decltype(c::m)>>(new ::AdHoc::NvpParse::Target<c, decltype(c::m)>(&c::m)) }
/** Parse an input stream into the given object.
* @param in The input stream.