Permalink
Browse files

Add missing this references for template look ups

  • Loading branch information...
1 parent 81f7266 commit d20339b8305925aae2934eaea5a5fba25fbba823 joerg committed Jul 3, 2012
Showing with 44 additions and 1 deletion.
  1. +2 −1 games/exult/distinfo
  2. +42 −0 games/exult/patches/patch-vec.h
View
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2011/12/21 16:58:15 dholland Exp $
+$NetBSD: distinfo,v 1.7 2012/07/03 18:42:31 joerg Exp $
SHA1 (exult-1.2.tar.gz) = 81f9d3d428c80990b8e970a4dee5c85a7236dace
RMD160 (exult-1.2.tar.gz) = 339231edf84507f05115ab3189875cb15be9c04f
@@ -42,3 +42,4 @@ SHA1 (patch-usecode_ucmachine.cc) = 01db5ff3f6d9c23271dfbd15c50e1c78d9af28a1
SHA1 (patch-usecode_ucxt_head2data.cc) = 1bb92845f2c7b2368ca6849031e0c9d35affc7e5
SHA1 (patch-usecode_ucxt_include_ops.h) = aca520d3b8d0d72ae918935f11f164ca0e633a81
SHA1 (patch-usecode_useval.h) = 101dfb391a00bd99bbdacd4f71f6b22b9c38a214
+SHA1 (patch-vec.h) = 368d369fada797f90ea22919c1410f5b726eae0c
@@ -0,0 +1,42 @@
+$NetBSD: patch-vec.h,v 1.1 2012/07/03 18:42:31 joerg Exp $
+
+--- vec.h.orig 2012-07-03 12:50:54.000000000 +0000
++++ vec.h
+@@ -33,7 +33,7 @@ public:
+ Exult_vector<T>() : baseClass()
+ {}
+ Exult_vector<T>(size_type n) : baseClass()
+- { reserve(n); }
++ { this->reserve(n); }
+
+ #ifndef MACOS /* should be something like PROPER_STD_CPP_LIB or so */
+ T& at(int i) { return (*this)[i]; }
+@@ -42,8 +42,8 @@ public:
+ {
+ if (i >= (int)this->size())
+ {
+- insert(this->begin() + this->size(), i - this->size(), 0);
+- push_back(v);
++ this->insert(this->begin() + this->size(), i - this->size(), 0);
++ this->push_back(v);
+ }
+ else
+ (*this)[i] = v;
+@@ -69,7 +69,7 @@ public:
+
+ size_type append( const T& obj )
+ {
+- push_back( obj );
++ this->push_back( obj );
+ return this->size() - 1;
+ }
+
+@@ -80,7 +80,7 @@ public:
+ {
+ if( *X == obj )
+ {
+- erase(X);
++ this->erase(X);
+ return;
+ }
+ }

0 comments on commit d20339b

Please sign in to comment.