Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
6a75e3c1
Commit
6a75e3c1
authored
Jun 29, 2017
by
Zulkarnine Mahmud
Committed by
GitHub
Jun 29, 2017
Browse files
Remove unnecessary const
parent
26b7ac3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googletest/src/gtest.cc
googletest/src/gtest.cc
+1
-1
No files found.
googletest/src/gtest.cc
View file @
6a75e3c1
...
@@ -2905,7 +2905,7 @@ int GetBgOffset(WORD background_mask) {
...
@@ -2905,7 +2905,7 @@ int GetBgOffset(WORD background_mask) {
return
bitOffset
;
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
// Let's reuse the BG
static
const
WORD
background_mask
=
BACKGROUND_BLUE
|
BACKGROUND_GREEN
|
BACKGROUND_RED
|
BACKGROUND_INTENSITY
;
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
;
static
const
WORD
foreground_mask
=
FOREGROUND_BLUE
|
FOREGROUND_GREEN
|
FOREGROUND_RED
|
FOREGROUND_INTENSITY
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment