Skip to content

Commit

Permalink
c++: check for __cpp_aggregate_paren_init instead of c++ version (fix z…
Browse files Browse the repository at this point in the history
  • Loading branch information
axxel committed Sep 24, 2024
1 parent 4f0df7d commit 535710a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/WriteBarcode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
Expand Down

0 comments on commit 535710a

Please sign in to comment.