Commit 5d89afe2 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

cppcheck fixes to add const

parent 693cecba
......@@ -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;
}
......
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment