diff base/HitCount.h @ 1429:48e9f538e6e9

Untabify
author Chris Cannam
date Thu, 01 Mar 2018 18:02:22 +0000
parents 6974bd4efdb5
children 410819150cd3
line wrap: on
line diff
--- a/base/HitCount.h	Thu Mar 01 14:43:40 2018 +0000
+++ b/base/HitCount.h	Thu Mar 01 18:02:22 2018 +0000
@@ -25,34 +25,34 @@
 {
 public:
     HitCount(std::string name) :
-	m_name(name),
-	m_hit(0),
-	m_partial(0),
-	m_miss(0)
+        m_name(name),
+        m_hit(0),
+        m_partial(0),
+        m_miss(0)
     { }
     
     ~HitCount() {
 #ifndef NO_HIT_COUNTS
-	using namespace std;
-	int total = m_hit + m_partial + m_miss;
-	cerr << "Hit count: " << m_name << ": ";
-	if (m_partial > 0) {
-	    cerr << m_hit << " hits, " << m_partial << " partial, "
-		 << m_miss << " misses";
-	} else {
-	    cerr << m_hit << " hits, " << m_miss << " misses";
-	}
-	if (total > 0) {
-	    if (m_partial > 0) {
-		cerr << " (" << ((m_hit * 100.0) / total) << "%, "
-		     << ((m_partial * 100.0) / total) << "%, "
-		     << ((m_miss * 100.0) / total) << "%)";
-	    } else {
-		cerr << " (" << ((m_hit * 100.0) / total) << "%, "
-		     << ((m_miss * 100.0) / total) << "%)";
-	    }
-	}
-	cerr << endl;
+        using namespace std;
+        int total = m_hit + m_partial + m_miss;
+        cerr << "Hit count: " << m_name << ": ";
+        if (m_partial > 0) {
+            cerr << m_hit << " hits, " << m_partial << " partial, "
+                 << m_miss << " misses";
+        } else {
+            cerr << m_hit << " hits, " << m_miss << " misses";
+        }
+        if (total > 0) {
+            if (m_partial > 0) {
+                cerr << " (" << ((m_hit * 100.0) / total) << "%, "
+                     << ((m_partial * 100.0) / total) << "%, "
+                     << ((m_miss * 100.0) / total) << "%)";
+            } else {
+                cerr << " (" << ((m_hit * 100.0) / total) << "%, "
+                     << ((m_miss * 100.0) / total) << "%)";
+            }
+        }
+        cerr << endl;
 #endif
     }