From 6a75e3c169d2ab0fb1ff096b7922375f08d3359c Mon Sep 17 00:00:00 2001 From: Zulkarnine Mahmud Date: Thu, 29 Jun 2017 09:52:41 +0900 Subject: [PATCH] Remove unnecessary const --- googletest/src/gtest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc index 7452391e..30e00946 100644 --- a/googletest/src/gtest.cc +++ b/googletest/src/gtest.cc @@ -2905,7 +2905,7 @@ int GetBgOffset(WORD background_mask) { return bitOffset; } -WORD GetNewColor(const GTestColor color, const WORD old_color_attrs) { +WORD GetNewColor(GTestColor color, WORD old_color_attrs) { // Let's reuse the BG static const WORD background_mask = BACKGROUND_BLUE | BACKGROUND_GREEN | BACKGROUND_RED | BACKGROUND_INTENSITY; static const WORD foreground_mask = FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_RED | FOREGROUND_INTENSITY;