summaryrefslogtreecommitdiffstats
path: root/googletest/src/gtest.cc
diff options
context:
space:
mode:
authorZulkarnine Mahmud <zulkarnine2076@gmail.com>2017-06-29 00:52:41 (GMT)
committerGitHub <noreply@github.com>2017-06-29 00:52:41 (GMT)
commit6a75e3c169d2ab0fb1ff096b7922375f08d3359c (patch)
treed5d85211a4e19af75be9fffbf0f06dd6ad9e3de8 /googletest/src/gtest.cc
parent26b7ac3b1888b096d982bd1e04441e06ad1ce6e3 (diff)
downloadgoogletest-6a75e3c169d2ab0fb1ff096b7922375f08d3359c.zip
googletest-6a75e3c169d2ab0fb1ff096b7922375f08d3359c.tar.gz
googletest-6a75e3c169d2ab0fb1ff096b7922375f08d3359c.tar.bz2
Remove unnecessary const
Diffstat (limited to 'googletest/src/gtest.cc')
-rw-r--r--googletest/src/gtest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc
index 7452391..30e0094 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;