Selaa lähdekoodia

Noexcept added.

main
offa 7 vuotta sitten
vanhempi
commit
caf0b1a167
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      include/unique_resource.h

+ 1
- 1
include/unique_resource.h Näytä tiedosto

@@ -48,7 +48,7 @@ namespace sr


template<class T, class U = std::conditional_t<std::is_nothrow_move_constructible<T>::value, T&&, const T&>>
constexpr U forward_if_nothrow_move_constructible(T&& value)
constexpr U forward_if_nothrow_move_constructible(T&& value) noexcept
{
return std::forward<T>(value);
}

Loading…
Peruuta
Tallenna