From 0179240619bc7571c545a5655acae2f19d8843b8 Mon Sep 17 00:00:00 2001 From: Mathew Sutcliffe Date: Sat, 6 Dec 2014 16:32:20 +0000 Subject: [PATCH] refs #247 Compiler fixes in CDictionary. --- src/blackmisc/dictionary.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/blackmisc/dictionary.h b/src/blackmisc/dictionary.h index 1245d928e..3b0c3304f 100644 --- a/src/blackmisc/dictionary.h +++ b/src/blackmisc/dictionary.h @@ -33,6 +33,7 @@ namespace BlackMisc NotFound operator <(const FromAny &, const FromAny &); NotFound operator ==(const FromAny &, const FromAny &); NotFound qHash(...); + using ::BlackMisc::qHash; // bring hidden name into scope template struct SupportsQHash : std::integral_constant { template - struct DefaultType { static_assert((std::is_void::value, false), "Key does not support either QHash or QMap"); }; + struct DefaultType { static_assert(std::is_void::value, "Key does not support either QHash or QMap"); }; }; //! \endcond