summaryrefslogtreecommitdiffstats
path: root/src/client/PortModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/PortModel.cpp')
-rw-r--r--src/client/PortModel.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/client/PortModel.cpp b/src/client/PortModel.cpp
index 8cdac7af..2e503100 100644
--- a/src/client/PortModel.cpp
+++ b/src/client/PortModel.cpp
@@ -60,15 +60,5 @@ PortModel::set(SharedPtr<ObjectModel> model)
ObjectModel::set(model);
}
-bool
-PortModel::has_context(const Raul::URI& uri) const
-{
- const Raul::Atom& context = get_property(_uris.ctx_context);
- if (uri == _uris.ctx_audioContext && !context.is_valid())
- return true;
- else
- return context == _uris.forge.alloc_uri(uri.str());
-}
-
} // namespace Client
} // namespace Ingen