diff options
author | David Robillard <d@drobilla.net> | 2020-08-02 14:15:38 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 14:21:39 +0200 |
commit | df897ef5b01a045769ffb71ebc6dead179db857c (patch) | |
tree | 3bdb14e7315477d6e322e11bb5e2300f0de99b90 /include/ingen/Interface.hpp | |
parent | 62f5c3124b991abe9b9423a4908ca076079d5327 (diff) | |
download | ingen-df897ef5b01a045769ffb71ebc6dead179db857c.tar.gz ingen-df897ef5b01a045769ffb71ebc6dead179db857c.tar.bz2 ingen-df897ef5b01a045769ffb71ebc6dead179db857c.zip |
Use nullptr for empty smart pointers
Diffstat (limited to 'include/ingen/Interface.hpp')
-rw-r--r-- | include/ingen/Interface.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ingen/Interface.hpp b/include/ingen/Interface.hpp index 8a87af8b..98c0d4cd 100644 --- a/include/ingen/Interface.hpp +++ b/include/ingen/Interface.hpp @@ -55,7 +55,7 @@ public: virtual URI uri() const = 0; - virtual SPtr<Interface> respondee() const { return SPtr<Interface>(); } + virtual SPtr<Interface> respondee() const { return nullptr; } virtual void set_respondee(const SPtr<Interface>& respondee) {} |