summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-10-11 12:27:22 +0200
committerCarl Hetherington <cth@carlh.net>2021-10-12 10:18:46 +0200
commit8044bcbf5ec36ced1d507742c6c3d654dd961ed9 (patch)
treedd6129698d4797de5d6049a3b7414e2bb7f6568c /src/wx
parent44b69f2d9affb048c3d166e3a62bf3462dd5c8b5 (diff)
Cleanup: use enum class.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/video_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/video_view.cc b/src/wx/video_view.cc
index 1d10beb30..331095253 100644
--- a/src/wx/video_view.cc
+++ b/src/wx/video_view.cc
@@ -76,11 +76,11 @@ VideoView::get_next_frame (bool non_blocking)
do {
Butler::Error e;
auto pv = butler->get_video (!non_blocking, &e);
- if (e.code == Butler::Error::DIED) {
+ if (e.code == Butler::Error::Code::DIED) {
LOG_ERROR ("Butler died with %1", e.summary());
}
if (!pv.first) {
- return e.code == Butler::Error::AGAIN ? AGAIN : FAIL;
+ return e.code == Butler::Error::Code::AGAIN ? AGAIN : FAIL;
}
_player_video = pv;
} while (