summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--meson.build2
-rw-r--r--src/djinterop/enginelibrary/el_track_impl.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 22e0e25..f106847 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@
# The meson/ninja build should be preferred in all other cases.
#
cmake_minimum_required(VERSION 3.13)
-project(libdjinterop VERSION 0.14.2)
+project(libdjinterop VERSION 0.14.3)
# Require C++17
set(CMAKE_CXX_STANDARD 17)
diff --git a/meson.build b/meson.build
index ad10f25..8232d72 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,7 @@
project(
'djinterop',
'cpp', 'c',
- version: '0.14.2',
+ version: '0.14.3',
license: 'LGPL-3.0',
default_options: ['cpp_std=c++17', 'default_library=shared'])
diff --git a/src/djinterop/enginelibrary/el_track_impl.cpp b/src/djinterop/enginelibrary/el_track_impl.cpp
index 0febf3b..70a3bf1 100644
--- a/src/djinterop/enginelibrary/el_track_impl.cpp
+++ b/src/djinterop/enginelibrary/el_track_impl.cpp
@@ -320,7 +320,7 @@ void el_track_impl::set_average_loudness(
// Zero average loudness is interpreted as no average loudness.
track_d.average_loudness =
- average_loudness == 0 ? stdx::nullopt : average_loudness;
+ average_loudness.value_or(0) == 0 ? stdx::nullopt : average_loudness;
set_track_data(track_d);
trans.commit();