Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
5d89afe2
Commit
5d89afe2
authored
Jun 26, 2012
by
Kurt Hindenburg
Browse files
cppcheck fixes to add const
parent
693cecba
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/CharacterColor.h
View file @
5d89afe2
...
...
@@ -175,7 +175,7 @@ public:
/**
* Returns true if this character color entry is valid.
*/
bool
isValid
()
{
const
bool
isValid
()
const
{
return
_colorSpace
!=
COLOR_SPACE_UNDEFINED
;
}
...
...
src/History.h
View file @
5d89afe2
...
...
@@ -110,7 +110,7 @@ public:
// is very unsafe, because those references will no longer
// be valid if the history scroll is deleted.
//
const
HistoryType
&
getType
()
{
const
HistoryType
&
getType
()
const
{
return
*
_historyType
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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