From 30e13002b6cde42566fc5ba094b00d6d25e69312 Mon Sep 17 00:00:00 2001 From: vng Date: Fri, 17 Oct 2014 12:40:51 +0300 Subject: [PATCH] Review fixes. --- base/math.hpp | 4 ++-- base/src_point.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/base/math.hpp b/base/math.hpp index 266429288f..6f1b2c1466 100644 --- a/base/math.hpp +++ b/base/math.hpp @@ -169,8 +169,8 @@ template T GCD(T a, T b) if ((a & 0x1) != 0 && (b & 0x1) != 0) { - T minV = min(a, b); - T maxV = max(a, b); + T const minV = min(a, b); + T const maxV = max(a, b); a = (maxV - minV) >> 1; b = minV; continue; diff --git a/base/src_point.cpp b/base/src_point.cpp index e88810e1bd..b6e7f55975 100644 --- a/base/src_point.cpp +++ b/base/src_point.cpp @@ -22,7 +22,7 @@ void SrcPoint::TruncateFileName() m_fileName = p[1]; } -} +} // namespace my string DebugPrint(my::SrcPoint const & srcPoint) {