diff options
author | David Robillard <d@drobilla.net> | 2011-05-13 02:57:36 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-13 02:57:36 +0000 |
commit | 198560d5fd499ab14eb4e130ee74e21fa86674a4 (patch) | |
tree | eb7bd2ae2d19b6db2c28c79d1c7663fe5b1f49de /src/client/PortModel.cpp | |
parent | 981c7950a6f5fc9f22decaee261556d20b641d5c (diff) | |
download | ingen-198560d5fd499ab14eb4e130ee74e21fa86674a4.tar.gz ingen-198560d5fd499ab14eb4e130ee74e21fa86674a4.tar.bz2 ingen-198560d5fd499ab14eb4e130ee74e21fa86674a4.zip |
Make models const in client code.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3259 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/PortModel.cpp')
-rw-r--r-- | src/client/PortModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/PortModel.cpp b/src/client/PortModel.cpp index 9ca7fe19..f6edba20 100644 --- a/src/client/PortModel.cpp +++ b/src/client/PortModel.cpp @@ -61,7 +61,7 @@ PortModel::set(SharedPtr<ObjectModel> model) } bool -PortModel::has_context(const Raul::URI& uri) +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()) |