Don't use GetBoolArg() and mapArgs; use one or the other.
authorChris <chris@vikki-old.(none)>
Thu, 20 Jan 2011 20:26:33 +0000 (12:26 -0800)
committerChris <chris@vikki-old.(none)>
Thu, 20 Jan 2011 20:26:33 +0000 (12:26 -0800)
main.cpp

index b7dfd9f..051e9c4 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -3455,7 +3455,7 @@ void BitcoinMiner()
     SetThreadPriority(THREAD_PRIORITY_LOWEST);
     bool f4WaySSE2 = Detect128BitSSE2();
     if (mapArgs.count("-4way"))
-        f4WaySSE2 = GetBoolArg(mapArgs["-4way"]);
+        f4WaySSE2 = GetBoolArg("-4way");
 
     // Each thread has its own key and counter
     CReserveKey reservekey;