From 0499f03891eff77b22cf80361a8fa18b5294a5ba Mon Sep 17 00:00:00 2001 From: Joel Schumacher Date: Wed, 3 Oct 2018 20:02:10 +0200 Subject: [PATCH] Remove extern declaration of std::vector::emplace_back to fix compliation with MSVC --- src/common/StringMap.cpp | 1 - src/common/StringMap.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/common/StringMap.cpp b/src/common/StringMap.cpp index 520ef08db..97d1e98a1 100644 --- a/src/common/StringMap.cpp +++ b/src/common/StringMap.cpp @@ -22,4 +22,3 @@ // See the header template class std::vector; -template decltype(std::vector().emplace_back("")) std::vector::emplace_back(const char *const&); diff --git a/src/common/StringMap.h b/src/common/StringMap.h index c9cbc24e2..31ef640c9 100644 --- a/src/common/StringMap.h +++ b/src/common/StringMap.h @@ -30,7 +30,6 @@ // getNames(), we end up with multiple copies in the object files. This // declaration means we only emit it once (in StringMap.cpp). extern template class std::vector; -extern template decltype(std::vector().emplace_back("")) std::vector::emplace_back(const char *const&); namespace love {