Skip to content

Commit

Permalink
MSVC doesnt properly support the noexcept operator
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisOSRM committed Apr 2, 2015
1 parent c2deeda commit a4f3100
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions util/container.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ template <typename Container> void sort_unique_resize(Container &vector) noexcep
// }

template <typename ForwardIterator, typename Function>
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)
{
Expand Down

0 comments on commit a4f3100

Please sign in to comment.