diff --git a/source/detail/serialization/custom_value_traits.hpp b/source/detail/serialization/custom_value_traits.hpp index aa283a0b..3a854071 100644 --- a/source/detail/serialization/custom_value_traits.hpp +++ b/source/detail/serialization/custom_value_traits.hpp @@ -403,7 +403,7 @@ orientation from_string(const std::string &string) if (string == "default") return orientation::default_orientation; else if (string == "landscape") return orientation::landscape; else if (string == "portrait") return orientation::portrait; - default_case(orientation::default); + default_case(orientation::default_orientation); } } // namespace detail