Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
constify methods
  • Loading branch information
troopa81 authored and nyalldawson committed Apr 10, 2023
1 parent 7be1774 commit 98c5051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/grass/qtermwidget/History.h
Expand Up @@ -122,7 +122,7 @@ class HistoryScroll
// is very unsafe, because those references will no longer
// be valid if the history scroll is deleted.
//
const HistoryType& getType() { return *m_histType; }
const HistoryType& getType() const { return *m_histType; }

protected:
HistoryType* m_histType;
Expand Down

0 comments on commit 98c5051

Please sign in to comment.