From 96761f07416764639358133a248a4d6c63410236 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Sat, 3 Feb 2018 01:32:49 +0200 Subject: [PATCH] Fix VS 2015 compile --- src/common/Utilities/DataMap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/Utilities/DataMap.h b/src/common/Utilities/DataMap.h index 0613c7616..976b50e88 100644 --- a/src/common/Utilities/DataMap.h +++ b/src/common/Utilities/DataMap.h @@ -38,7 +38,7 @@ public: * Returns a pointer to object of requested type stored with given key * or default constructs one and returns that one */ - template{}, int>::type = 0> + template::value, int>::type = 0> T* GetDefault(std::string const & k) { static_assert(std::is_base_of::value, "T must derive from Base"); if (T* v = Get(k))