Procházet zdrojové kódy

Functionname fixed.

main
offa před 7 roky
rodič
revize
67188316a3
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      include/unique_resource.h

+ 2
- 2
include/unique_resource.h Zobrazit soubor

@@ -65,9 +65,9 @@ namespace sr
return m_value;
}

void reset(T&& newValue) noexcept(std::is_nothrow_assignable<T, decltype(std::move_assign_if_noexcept(newValue))>::value)
void reset(T&& newValue) noexcept(std::is_nothrow_assignable<T, decltype(std::move_if_noexcept(newValue))>::value)
{
m_value = std::move_assign_if_noexcept(newValue);
m_value = std::move_if_noexcept(newValue);
}

void reset(const T& newValue) noexcept(std::is_nothrow_assignable<T, const T&>::value)

Načítá se…
Zrušit
Uložit