Browse Source

Formatting.

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

+ 2
- 2
include/scope_guard.h View File

&& std::is_nothrow_constructible<Deleter, D>::value, int> = 0 && std::is_nothrow_constructible<Deleter, D>::value, int> = 0
> >
explicit scope_guard_t(D&& deleter) : m_deleter(std::move(deleter)), explicit scope_guard_t(D&& deleter) : m_deleter(std::move(deleter)),
m_execute_on_destruction(true)
m_execute_on_destruction(true)
{ {
} }


std::enable_if_t<std::is_lvalue_reference<D>::value, int> = 0 std::enable_if_t<std::is_lvalue_reference<D>::value, int> = 0
> >
explicit scope_guard_t(D&& deleter) : m_deleter(deleter), explicit scope_guard_t(D&& deleter) : m_deleter(deleter),
m_execute_on_destruction(true)
m_execute_on_destruction(true)
{ {
} }



Loading…
Cancel
Save