summaryrefslogtreecommitdiffstats
path: root/src/server/LV2Block.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-01 14:28:50 +0200
committerDavid Robillard <d@drobilla.net>2020-08-02 01:48:48 +0200
commit6a1ce7d1ee5e6f20aa011fe994341d9d79ac35ea (patch)
treee541fcd73c05f2338840f1fcfa36dcb6a0d8895d /src/server/LV2Block.hpp
parent7fe8260c6c0a53fdc9ba04130c577122402a82ec (diff)
downloadingen-6a1ce7d1ee5e6f20aa011fe994341d9d79ac35ea.tar.gz
ingen-6a1ce7d1ee5e6f20aa011fe994341d9d79ac35ea.tar.bz2
ingen-6a1ce7d1ee5e6f20aa011fe994341d9d79ac35ea.zip
Make member functions const or static where possible
Diffstat (limited to 'src/server/LV2Block.hpp')
-rw-r--r--src/server/LV2Block.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/LV2Block.hpp b/src/server/LV2Block.hpp
index d42da499..e935ade1 100644
--- a/src/server/LV2Block.hpp
+++ b/src/server/LV2Block.hpp
@@ -112,7 +112,7 @@ protected:
using Instances = Raul::Array<SPtr<Instance>>;
- void drop_instances(const MPtr<Instances>& instances) {
+ static void drop_instances(const MPtr<Instances>& instances) {
if (instances) {
for (size_t i = 0; i < instances->size(); ++i) {
(*instances)[i].reset();