aboutsummaryrefslogtreecommitdiff
path: root/multimedia/subtitleeditor/files/patch-src_utility.h
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/subtitleeditor/files/patch-src_utility.h')
-rw-r--r--multimedia/subtitleeditor/files/patch-src_utility.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/multimedia/subtitleeditor/files/patch-src_utility.h b/multimedia/subtitleeditor/files/patch-src_utility.h
deleted file mode 100644
index 51c92fab209c..000000000000
--- a/multimedia/subtitleeditor/files/patch-src_utility.h
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/utility.h.orig 2014-02-12 22:03:00 UTC
-+++ src/utility.h
-@@ -72,7 +72,7 @@ bool from_string(const std::string &src,
- std::istringstream s(src);
- // return s >> dest != 0;
-
-- bool state = s >> dest != 0;
-+ bool state = static_cast<bool>(s >> dest);
-
- if(!state)
- se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
-@@ -92,7 +92,7 @@ bool from_string(const Glib::ustring &sr
- std::istringstream s(src);
- // return s >> dest != 0;
-
-- bool state = s >> dest != 0;
-+ bool state = static_cast<bool>(s >> dest);
-
- if(!state)
- se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());