diff options
-rw-r--r-- | src/AtomReader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/AtomReader.cpp b/src/AtomReader.cpp index 4c8cd4ef..a7f0386e 100644 --- a/src/AtomReader.cpp +++ b/src/AtomReader.cpp @@ -160,9 +160,9 @@ AtomReader::write(const LV2_Atom* msg, int32_t default_id) return false; } - const auto* obj = reinterpret_cast<const LV2_Atom_Object*>(msg); - const LV2_Atom* subject = nullptr; - const LV2_Atom* number = nullptr; + const auto* const obj = reinterpret_cast<const LV2_Atom_Object*>(msg); + const LV2_Atom* subject = nullptr; + const LV2_Atom* number = nullptr; lv2_atom_object_get(obj, _uris.patch_subject.urid(), &subject, |