Skip to content

Commit 6bf25f0

Browse files
committed
This const really doesn't need to be in the class's namespace.
1 parent 73049a8 commit 6bf25f0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

mythtv/libs/libmythui/AppleRemote.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
#include "mythlogging.h"
2121

2222
AppleRemote* AppleRemote::_instance = 0;
23-
const int AppleRemote::REMOTE_SWITCH_COOKIE = 19;
23+
24+
25+
#define REMOTE_SWITCH_COOKIE 19
2426

2527
#define LOC QString("AppleRemote::")
2628

mythtv/libs/libmythui/AppleRemote.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ class AppleRemote : public MThread
5757
AppleRemote(); // will be a singleton class
5858

5959
static AppleRemote* _instance;
60-
static const int REMOTE_SWITCH_COOKIE;
6160

6261

6362
private:

0 commit comments

Comments
 (0)