From a4f31001e80f023e8d7beb369d4a765730b2b9e3 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Thu, 2 Apr 2015 15:11:23 +0200 Subject: [PATCH] MSVC doesnt properly support the noexcept operator --- util/container.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/util/container.hpp b/util/container.hpp index 891cc3d18..d455e94e2 100644 --- a/util/container.hpp +++ b/util/container.hpp @@ -73,9 +73,7 @@ template void sort_unique_resize(Container &vector) noexcep // } template -Function for_each_pair(ForwardIterator begin, - ForwardIterator end, - Function function) noexcept(noexcept(function)) +Function for_each_pair(ForwardIterator begin, ForwardIterator end, Function function) { if (begin == end) {