diff --git a/src/odr/internal/common/random.cpp b/src/odr/internal/common/random.cpp index d3f4c8286..bfb320699 100644 --- a/src/odr/internal/common/random.cpp +++ b/src/odr/internal/common/random.cpp @@ -1,6 +1,7 @@ #include #include +#include #include namespace odr { diff --git a/src/odr/internal/font/type1_charstring.cpp b/src/odr/internal/font/type1_charstring.cpp index e957fb582..43ae69b78 100644 --- a/src/odr/internal/font/type1_charstring.cpp +++ b/src/odr/internal/font/type1_charstring.cpp @@ -321,7 +321,7 @@ class Translator { m_stack.pop_back(); } // args is reversed (top first); restore call order. - std::reverse(args.begin(), args.end()); + std::ranges::reverse(args); switch (othersubr) { case 1: // flex start diff --git a/test/src/internal/odf/odf_table_test.cpp b/test/src/internal/odf/odf_table_test.cpp index a800be7e5..ad43edc51 100644 --- a/test/src/internal/odf/odf_table_test.cpp +++ b/test/src/internal/odf/odf_table_test.cpp @@ -14,6 +14,7 @@ #include +#include #include #include #include