summaryrefslogtreecommitdiffstats
path: root/src/gui/ConnectWindow.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-02 14:15:38 +0200
committerDavid Robillard <d@drobilla.net>2020-08-02 14:21:39 +0200
commitdf897ef5b01a045769ffb71ebc6dead179db857c (patch)
tree3bdb14e7315477d6e322e11bb5e2300f0de99b90 /src/gui/ConnectWindow.cpp
parent62f5c3124b991abe9b9423a4908ca076079d5327 (diff)
downloadingen-df897ef5b01a045769ffb71ebc6dead179db857c.tar.gz
ingen-df897ef5b01a045769ffb71ebc6dead179db857c.tar.bz2
ingen-df897ef5b01a045769ffb71ebc6dead179db857c.zip
Use nullptr for empty smart pointers
Diffstat (limited to 'src/gui/ConnectWindow.cpp')
-rw-r--r--src/gui/ConnectWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/ConnectWindow.cpp b/src/gui/ConnectWindow.cpp
index 16e88235..3e5e5d7c 100644
--- a/src/gui/ConnectWindow.cpp
+++ b/src/gui/ConnectWindow.cpp
@@ -292,7 +292,7 @@ ConnectWindow::disconnect()
_attached = false;
_app->detach();
- set_connected_to(SPtr<ingen::Interface>());
+ set_connected_to(nullptr);
if (!_widgets_loaded) {
return;