diff --git a/olp-cpp-sdk-core/include/olp/core/porting/optional.h b/olp-cpp-sdk-core/include/olp/core/porting/optional.h index 3cfa5049d..a0c4334a3 100644 --- a/olp-cpp-sdk-core/include/olp/core/porting/optional.h +++ b/olp-cpp-sdk-core/include/olp/core/porting/optional.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2025 HERE Europe B.V. + * Copyright (C) 2025-2026 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -61,7 +61,7 @@ namespace porting { template using optional = boost::optional; -constexpr auto none = boost::none; +BOOST_CONSTEXPR_OR_CONST auto none = boost::none; template constexpr typename optional::reference_const_type value_or(