summaryrefslogtreecommitdiffstats
path: root/src/progs/gtk/PortController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/gtk/PortController.cpp')
-rw-r--r--src/progs/gtk/PortController.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/progs/gtk/PortController.cpp b/src/progs/gtk/PortController.cpp
index 1e840583..eaad6efe 100644
--- a/src/progs/gtk/PortController.cpp
+++ b/src/progs/gtk/PortController.cpp
@@ -24,12 +24,12 @@
namespace OmGtk {
-PortController::PortController(PortModel* model)
+PortController::PortController(CountedPtr<PortModel> model)
: GtkObjectController(model),
m_port(NULL),
m_control_panel(NULL)
{
- assert(model != NULL);
+ assert(model);
assert(model->parent() != NULL);
assert(model->controller() == NULL);