fix formatting in defer.h
This commit is contained in:
parent
ff5792d6a4
commit
2b3d8d3a01
1 changed files with 3 additions and 2 deletions
|
@ -4,6 +4,7 @@ struct Defer_Guard {
|
|||
~Defer_Guard() { _f(); }
|
||||
F _f;
|
||||
};
|
||||
|
||||
struct Defer_Guard_Helper {
|
||||
template <typename F>
|
||||
Defer_Guard<F> operator+(F &&f) { return Defer_Guard<F>(static_cast<F &&>(f)); }
|
||||
|
|
Loading…
Add table
Reference in a new issue