diff --git a/core/src/WriteBarcode.cpp b/core/src/WriteBarcode.cpp index e39f4412d3..e290bdcd6d 100644 --- a/core/src/WriteBarcode.cpp +++ b/core/src/WriteBarcode.cpp @@ -38,7 +38,7 @@ struct CreatorOptions::Data mutable unique_zint_symbol zint; -#if __cplusplus <= 201703L || defined(__APPLE__) +#ifndef __cpp_aggregate_paren_init Data(BarcodeFormat f) : format(f) {} #endif };