Merge pull request #425 from yschungmr/hotfix/gcc-5-build-bug

Fixed gcc 5 build bug
This commit is contained in:
Thomas Fussell 2019-12-19 16:13:48 -05:00 committed by GitHub
commit edb27e84f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -347,11 +347,11 @@ std::string to_string(orientation orient)
{ {
switch (orient) switch (orient)
{ {
case orientation::default_orientation: case xlnt::orientation::default_orientation:
return "default"; return "default";
case orientation::landscape: case xlnt::orientation::landscape:
return "landscape"; return "landscape";
case orientation::portrait: case xlnt::orientation::portrait:
return "portrait"; return "portrait";
} }
default_case("default"); default_case("default");