summaryrefslogtreecommitdiffstats
path: root/src/server/Buffer.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-18 11:30:26 +0200
committerDavid Robillard <d@drobilla.net>2020-07-18 11:30:26 +0200
commit73c40662efecd4b640f6ba7a0dc94e790eeb9b56 (patch)
tree8af8ff1fe875159caadb1f7b3b51025d6a537078 /src/server/Buffer.hpp
parentd4060830e427185d14e6a0787d8c2c082c9621dd (diff)
downloadingen-73c40662efecd4b640f6ba7a0dc94e790eeb9b56.tar.gz
ingen-73c40662efecd4b640f6ba7a0dc94e790eeb9b56.tar.bz2
ingen-73c40662efecd4b640f6ba7a0dc94e790eeb9b56.zip
Add missing const specifiers
Diffstat (limited to 'src/server/Buffer.hpp')
-rw-r--r--src/server/Buffer.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/Buffer.hpp b/src/server/Buffer.hpp
index c67f9fd7..1cbb0f29 100644
--- a/src/server/Buffer.hpp
+++ b/src/server/Buffer.hpp
@@ -116,7 +116,7 @@ public:
if (is_audio() || is_control()) {
return samples()[offset];
} else if (_value_buffer) {
- return ((LV2_Atom_Float*)value())->body;
+ return ((const LV2_Atom_Float*)value())->body;
}
return 0.0f;
}