projects
/
ncmpc-debian.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
af367b4
)
StatusBar: GetWindow() returns const reference
author
Max Kellermann <max@musicpd.org>
Wed, 10 Apr 2019 08:28:13 +0000
(10:28 +0200)
committer
Max Kellermann <max@musicpd.org>
Wed, 10 Apr 2019 08:28:13 +0000
(10:28 +0200)
src/StatusBar.hxx
patch
|
blob
|
history
diff --git
a/src/StatusBar.hxx
b/src/StatusBar.hxx
index
1e8e5ed
..
dc9862f
100644
(file)
--- a/
src/StatusBar.hxx
+++ b/
src/StatusBar.hxx
@@
-63,7
+63,7
@@
public:
Point p, unsigned width) noexcept;
~StatusBar() noexcept;
-
Window &GetWindow()
noexcept {
+
const Window &GetWindow() const
noexcept {
return window;
}