diff options
author | Willy Sudiarto Raharjo <willysr@slackware-id.org> | 2013-10-25 23:10:43 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-10-27 23:38:50 -0500 |
commit | d22eaf98c11ba85eb355c9936d0bdc9cef25a54a (patch) | |
tree | 732b7a092ee209be1a4c29d6e45dab368ea0e6f6 /games/wesnoth/fix-segfault.patch | |
parent | 0e9f452fe74418818ea7d1e6d87430321211caa3 (diff) | |
download | slackbuilds-d22eaf98c11ba85eb355c9936d0bdc9cef25a54a.tar.gz |
games/wesnoth: Updated for version 1.10.7.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/wesnoth/fix-segfault.patch')
-rw-r--r-- | games/wesnoth/fix-segfault.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/games/wesnoth/fix-segfault.patch b/games/wesnoth/fix-segfault.patch deleted file mode 100644 index 882231d99e..0000000000 --- a/games/wesnoth/fix-segfault.patch +++ /dev/null @@ -1,43 +0,0 @@ -From bbd7f62a426e321034c7bdf9054152fc159e517a Mon Sep 17 00:00:00 2001 -From: "J. Tyne" <jt_coding@verizon.net> -Date: Thu, 13 Dec 2012 14:22:35 +0000 -Subject: [PATCH] Change some implicit conversions to return const references - to objects... - -...instead of temporary objects. - -Fixes bug #20360. ---- - src/shared_object.hpp | 2 +- - src/tstring.hpp | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/shared_object.hpp b/src/shared_object.hpp -index 89be3b8..a6099a8 100644 ---- a/src/shared_object.hpp -+++ b/src/shared_object.hpp -@@ -51,7 +51,7 @@ class shared_object { - val_->count++; - } - -- operator T() const { -+ operator const T &() const { - assert(valid()); - return val_->val; - } -diff --git a/src/tstring.hpp b/src/tstring.hpp -index a391d58..f4664f5 100644 ---- a/src/tstring.hpp -+++ b/src/tstring.hpp -@@ -145,7 +145,7 @@ class t_string : - static t_string from_serialized(const std::string& string) { return t_string(base::from_serialized(string)); } - std::string to_serialized() const { return get().to_serialized(); } - -- operator t_string_base() const { return get(); } -+ operator const t_string_base &() const { return get(); } - - t_string operator+(const t_string& o) const { return get() + o.get(); } - t_string operator+(const std::string& o) const { return get() + o; } --- -1.8.1.6 - |