mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
Fix g++-5 build bug (Fix #385)
Tested on g++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 Note: Actually,it is not a BUG. It is compiler related issue. The issue #385 is not shown in g++-6 and clang.
This commit is contained in:
parent
f30260153f
commit
c8bda73f01
@ -347,11 +347,11 @@ std::string to_string(orientation orientation)
|
|||||||
{
|
{
|
||||||
switch (orientation)
|
switch (orientation)
|
||||||
{
|
{
|
||||||
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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user