Преглед на файлове

Functionname fixed.

main
offa преди 7 години
родител
ревизия
67188316a3
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +2
    -2
      include/unique_resource.h

+ 2
- 2
include/unique_resource.h Целия файл

return m_value; 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) void reset(const T& newValue) noexcept(std::is_nothrow_assignable<T, const T&>::value)

Loading…
Отказ
Запис