summaryrefslogtreecommitdiff
path: root/media-gfx/slic3r/files/slic3r-1.2.9-c++11.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/slic3r/files/slic3r-1.2.9-c++11.patch')
-rw-r--r--media-gfx/slic3r/files/slic3r-1.2.9-c++11.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/media-gfx/slic3r/files/slic3r-1.2.9-c++11.patch b/media-gfx/slic3r/files/slic3r-1.2.9-c++11.patch
deleted file mode 100644
index f6b15d70a1ab..000000000000
--- a/media-gfx/slic3r/files/slic3r-1.2.9-c++11.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- a/xs/src/libslic3r/Config.hpp 2015-06-17 04:38:28.000000000 -0400
-+++ b/xs/src/libslic3r/Config.hpp 2017-09-27 10:59:26.527103728 -0400
-@@ -65,7 +65,7 @@
-
- bool deserialize(std::string str) {
- std::istringstream iss(str);
-- return iss >> this->value;
-+ return static_cast<bool>(iss >> this->value);
- };
- };
-
-@@ -124,7 +124,7 @@
-
- bool deserialize(std::string str) {
- std::istringstream iss(str);
-- return iss >> this->value;
-+ return static_cast<bool>(iss >> this->value);
- };
- };
-
-@@ -249,7 +249,7 @@
- bool deserialize(std::string str) {
- // don't try to parse the trailing % since it's optional
- std::istringstream iss(str);
-- return iss >> this->value;
-+ return static_cast<bool>(iss >> this->value);
- };
- };
-
-@@ -279,7 +279,7 @@
- bool deserialize(std::string str) {
- this->percent = str.find_first_of("%") != std::string::npos;
- std::istringstream iss(str);
-- return iss >> this->value;
-+ return static_cast<bool>(iss >> this->value);
- };
- };
-