Browse Source

Formatting fixed.

main
offa 5 years ago
parent
commit
ce1944130c
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      include/unique_resource.h

+ 1
- 2
include/unique_resource.h View File

@@ -151,8 +151,7 @@ namespace sr
std::enable_if_t<(std::is_nothrow_move_assignable_v<RR>
|| std::is_nothrow_copy_assignable_v<RR>)
&& (std::is_nothrow_move_assignable_v<DD>
|| std::is_nothrow_copy_assignable_v<DD>), int> = 0
>
|| std::is_nothrow_copy_assignable_v<DD>), int> = 0>
unique_resource& operator=(unique_resource&& other) noexcept(std::is_nothrow_assignable_v<R&, R>
&& std::is_nothrow_assignable_v<D&, D>)
{

Loading…
Cancel
Save