From 777e89c0a7816bd938bd4fc234acfa09aa616cf9 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Tue, 24 Apr 2007 08:39:08 +0000 Subject: [PATCH] Pointers to member functions requires &. --- stepmania/src/RageLog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageLog.cpp b/stepmania/src/RageLog.cpp index fb6d57e1ff..fd86a7f3e2 100644 --- a/stepmania/src/RageLog.cpp +++ b/stepmania/src/RageLog.cpp @@ -420,7 +420,7 @@ void ShowWarningOrTrace( const char *file, int line, const char *message, bool b if( temp ) file = temp + 4; - void (RageLog::*method)(const char *fmt, ...) = bWarning ? RageLog::Warn : RageLog::Trace; + void (RageLog::*method)(const char *fmt, ...) = bWarning ? &RageLog::Warn : &RageLog::Trace; if( LOG ) (LOG->*method)( "%s:%i: %s", file, line, message );