Quellcode durchsuchen

Noexcept added.

main
offa vor 7 Jahren
Ursprung
Commit
caf0b1a167
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      include/unique_resource.h

+ 1
- 1
include/unique_resource.h Datei anzeigen

@@ -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);
}

Laden…
Abbrechen
Speichern