From 6a83c72acee16961ea9ec935ea19a3a3dde2ac0a Mon Sep 17 00:00:00 2001 From: Marten Richter Date: Sat, 25 Feb 2017 12:34:37 +0100 Subject: [PATCH] Change RemoteWin to new base class definition --- remotewin.cc | 2 +- remotewin.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/remotewin.cc b/remotewin.cc index 29be2ff..4dd1da4 100644 --- a/remotewin.cc +++ b/remotewin.cc @@ -41,7 +41,7 @@ RemoteWin::~RemoteWin() { } -int RemoteWin::init(char* devName) +int RemoteWin::init(const char* devName) { if (initted) return 0; initted = 1; diff --git a/remotewin.h b/remotewin.h index 5251623..bda8221 100644 --- a/remotewin.h +++ b/remotewin.h @@ -39,7 +39,7 @@ class RemoteWin : public Remote RemoteWin(); ~RemoteWin(); - int init(char *devName); + int init(const char *devName); int shutdown(); int getDevice(); UCHAR getButtonPress(int how); -- 2.39.5