diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-12-20 20:10:08 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-12-20 20:14:57 +0000 |
| commit | c0973075fafc7003be1028922bf99a2c48bcdcd6 (patch) | |
| tree | 303d3d6b03942857775f7c0d2e15d621a6f6df37 /src/utils.hh | |
| parent | cb324a4b8842d6d45a7dba316cd4f909addb99c2 (diff) | |
Get rid of Editor for good
ClientManager now stores only the free windows, clients take
ownership of its own.
Diffstat (limited to 'src/utils.hh')
| -rw-r--r-- | src/utils.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.hh b/src/utils.hh index a08e7707..0cbf4c91 100644 --- a/src/utils.hh +++ b/src/utils.hh @@ -109,7 +109,7 @@ public: return *this; } - void reset(T* ptr) + void reset(T* ptr = nullptr) { *this = safe_ptr(ptr); } |
