From a978e73354ce2554dee3b3c601fb932a05634428 Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Sun, 15 Sep 2019 11:26:39 -0400 Subject: [PATCH] change orientation name in default case --- source/detail/serialization/custom_value_traits.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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