summaryrefslogtreecommitdiff
path: root/multimedia/mxflib/files/patch-mxflib_smartptr.h
blob: d801762cf1024248b613dd7b8ff5b3e475384ced (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$FreeBSD$

--- mxflib/smartptr.h.orig
+++ mxflib/smartptr.h
@@ -503,7 +503,7 @@
 		}
 
 		//! Comparison function to allow sorting by indexed value
-		bool operator<(SmartPtr &Other) { return this.operator<(*Other->GetPtr()); }
+		bool operator<(SmartPtr &Other) { return this->operator<(*Other->GetPtr()); }
 
 		//! Get a cast version of the pointer
 		/*! This is used via the SmartPtr_Cast() Macro to allow MSVC 6 to work!!