diff options
Diffstat (limited to 'src/android/camera_metadata.h')
-rw-r--r-- | src/android/camera_metadata.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/android/camera_metadata.h b/src/android/camera_metadata.h index 56df6f1c..f95c3458 100644 --- a/src/android/camera_metadata.h +++ b/src/android/camera_metadata.h @@ -42,7 +42,7 @@ public: template<typename S, typename T = typename S::value_type> - bool addEntry(uint32_t tag, S &data) + bool addEntry(uint32_t tag, const S &data) { return addEntry(tag, data.data(), data.size(), sizeof(T)); } @@ -67,7 +67,7 @@ public: template<typename S, typename T = typename S::value_type> - bool updateEntry(uint32_t tag, S &data) + bool updateEntry(uint32_t tag, const S &data) { return updateEntry(tag, data.data(), data.size()); } |