[dasher] Fix non-windows build after 3cf4b544



commit b48967a1f5cacd5a517498e78544633a106875a1
Author: Patrick Welche <prlw1 cam ac uk>
Date:   Tue Mar 5 12:24:03 2013 +0000

    Fix non-windows build after 3cf4b544

 Src/DasherCore/FileLogger.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/Src/DasherCore/FileLogger.cpp b/Src/DasherCore/FileLogger.cpp
index e02a346..a911ff4 100644
--- a/Src/DasherCore/FileLogger.cpp
+++ b/Src/DasherCore/FileLogger.cpp
@@ -430,10 +430,11 @@ CFunctionLogger::CFunctionLogger(const std::string& strFunctionName, CFileLogger
 
     if (!m_pLogger->GetFunctionTiming())
       m_pLogger->LogFunctionEntry(m_strFunctionName);
-    else
+    else {
 #ifdef _WIN32
       QueryPerformanceCounter(&m_iStartTicks);
 #endif
+    }
   }
 
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]