Browse Source

Formatting.

main
offa 7 years ago
parent
commit
3cd80d66f0
4 changed files with 7 additions and 7 deletions
  1. +2
    -2
      include/scope_exit.h
  2. +2
    -2
      include/scope_fail.h
  3. +2
    -2
      include/scope_success.h
  4. +1
    -1
      include/unique_resource.h

+ 2
- 2
include/scope_exit.h View File

@@ -52,8 +52,8 @@ namespace sr
};


template <class EF>
scope_exit(EF &&ef) -> scope_exit<std::decay_t<EF>>;
template<class EF>
scope_exit(EF&& ef) -> scope_exit<std::decay_t<EF>>;


template<class EF>

+ 2
- 2
include/scope_fail.h View File

@@ -62,8 +62,8 @@ namespace sr
};


template <class EF>
scope_fail(EF &&ef) -> scope_fail<std::decay_t<EF>>;
template<class EF>
scope_fail(EF&& ef) -> scope_fail<std::decay_t<EF>>;


template<class EF>

+ 2
- 2
include/scope_success.h View File

@@ -55,8 +55,8 @@ namespace sr
};


template <class EF>
scope_success(EF &&ef) -> scope_success<std::decay_t<EF>>;
template<class EF>
scope_success(EF&& ef) -> scope_success<std::decay_t<EF>>;


template<class EF>

+ 1
- 1
include/unique_resource.h View File

@@ -203,7 +203,7 @@ namespace sr
template<class R, class D>
unique_resource(R&& r, D&& d) -> unique_resource<std::decay_t<R>, std::decay_t<D>>;

template<typename R, typename D>
template<class R, class D>
unique_resource(std::reference_wrapper<R> r, D&& d) -> unique_resource<R&, std::decay_t<D>>;



Loading…
Cancel
Save