aboutsummaryrefslogtreecommitdiff
path: root/system/krusader/krusader-2.4.0_beta1-gcc47.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/krusader/krusader-2.4.0_beta1-gcc47.patch')
-rw-r--r--system/krusader/krusader-2.4.0_beta1-gcc47.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/system/krusader/krusader-2.4.0_beta1-gcc47.patch b/system/krusader/krusader-2.4.0_beta1-gcc47.patch
new file mode 100644
index 0000000000000..1ad24adf9d4c6
--- /dev/null
+++ b/system/krusader/krusader-2.4.0_beta1-gcc47.patch
@@ -0,0 +1,20 @@
+--- a/krusader/UserAction/tstring.h
++++ b/krusader/UserAction/tstring.h
+@@ -125,7 +125,7 @@ TagString_t<T>& TagString_t<T>::operator
+ str += s.str;
+ const unsigned disp = length();
+ for (typename taglist::const_iterator it = s.tags.begin(), end = s.tags.end();it != end;++it) {
+- tags.push_back(make_pair((*it).first + disp, (*it).second));
++ tags.push_back(std::make_pair((*it).first + disp, (*it).second));
+ }
+ return *this;
+ }
+@@ -134,7 +134,7 @@ template <class T>
+ void TagString_t<T>::insertTag(uint pos, const T& t)
+ {
+ assert(pos <= length());
+- tags.push_back(make_pair(pos, t));
++ tags.push_back(std::make_pair(pos, t));
+ }
+
+ #endif