From 7e90187e501a526fd30d6f160c8942d129bb6e5c Mon Sep 17 00:00:00 2001 From: Denis Blank Date: Tue, 6 Feb 2018 01:57:41 +0100 Subject: [PATCH] Some minor improvements --- include/continuable/detail/traverse.hpp | 3 ++- include/continuable/detail/util.hpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/continuable/detail/traverse.hpp b/include/continuable/detail/traverse.hpp index a24a887..60783fd 100644 --- a/include/continuable/detail/traverse.hpp +++ b/include/continuable/detail/traverse.hpp @@ -458,7 +458,8 @@ auto remap_container(container_mapping_tag, M&& mapper, // We try to reserve the original size from the source // container to the destination container. - // TODO traits::detail::reserve_if_reservable(remapped, container.size()); + // TODO Re-implement this + // traits::detail::reserve_if_reservable(remapped, container.size()); // Perform the actual value remapping from the source to // the destination. diff --git a/include/continuable/detail/util.hpp b/include/continuable/detail/util.hpp index 81fb45a..6048763 100644 --- a/include/continuable/detail/util.hpp +++ b/include/continuable/detail/util.hpp @@ -45,7 +45,7 @@ namespace detail { namespace util { /// Helper to trick compilers about that a parameter pack is used template -void unused(T&&...) { +constexpr void unused(T&&...) noexcept { } namespace detail {