From cc57158c310ee962cf5a7caf7d612fb53ff8b783 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 3 Sep 2015 01:00:20 +0100 Subject: Be explicit about type names in the AdHoc namespace --- libadhocutil/nvpParse.h | 4 ++-- 1 file 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>> -#define NvpValue(c, m) { #m, boost::shared_ptr>(new NvpParse::Target(&c::m)) } +#define NvpTarget(T) std::map>> +#define NvpValue(c, m) { #m, boost::shared_ptr<::AdHoc::NvpParse::Target>(new ::AdHoc::NvpParse::Target(&c::m)) } /** Parse an input stream into the given object. * @param in The input stream. -- cgit v1.2.3