summaryrefslogtreecommitdiffstats
path: root/src/library/export/engineprimeexportjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/export/engineprimeexportjob.cpp')
-rw-r--r--src/library/export/engineprimeexportjob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/export/engineprimeexportjob.cpp b/src/library/export/engineprimeexportjob.cpp
index 353b1d113d..1957321434 100644
--- a/src/library/export/engineprimeexportjob.cpp
+++ b/src/library/export/engineprimeexportjob.cpp
@@ -500,7 +500,7 @@ void EnginePrimeExportJob::run() {
// underneath this crate.
auto optionalExtRootCrate = db.root_crate_by_name(kMixxxRootCrateName);
auto extRootCrate = optionalExtRootCrate
- ? optionalExtRootCrate.value()
+ ? *optionalExtRootCrate
: db.create_root_crate(kMixxxRootCrateName);
for (const TrackRef& trackRef : m_trackRefs) {
// Add each track to the root crate, even if it also belongs to others.