diff options
| author | Andreas Oberritter <obi@opendreambox.org> | 2008-03-25 22:57:37 +0000 |
|---|---|---|
| committer | Andreas Oberritter <obi@opendreambox.org> | 2008-03-25 22:57:37 +0000 |
| commit | e1730a134f0c2f1ca8f4383b62d6c2798d9e567f (patch) | |
| tree | feee6f95fa2e31605150fe3717c290c6e8319e8b /lib/base/init.h | |
| parent | c9c138dd06d5eee865c0dd825fb728913ed4a8f0 (diff) | |
| download | enigma2-e1730a134f0c2f1ca8f4383b62d6c2798d9e567f.tar.gz enigma2-e1730a134f0c2f1ca8f4383b62d6c2798d9e567f.zip | |
fix deprecated conversion from string constant to char* by using const char* instead where possible
Diffstat (limited to 'lib/base/init.h')
| -rw-r--r-- | lib/base/init.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/base/init.h b/lib/base/init.h index 6ffd04c7..4b40bea0 100644 --- a/lib/base/init.h +++ b/lib/base/init.h @@ -27,9 +27,9 @@ class eAutoInit virtual void closeNow()=0; protected: int rl; - char *description; + const char *description; public: - eAutoInit(int rl, char *description): rl(rl), description(description) + eAutoInit(int rl, const char *description): rl(rl), description(description) { } virtual ~eAutoInit(); @@ -54,7 +54,7 @@ public: { return t; } - eAutoInitP1(const T2 &arg, int runl, char *description): eAutoInit(runl, description), arg(arg) + eAutoInitP1(const T2 &arg, int runl, const char *description): eAutoInit(runl, description), arg(arg) { eInit::add(rl, this); } @@ -85,7 +85,7 @@ public: { return t; } - eAutoInitP0(int runl, char *description): eAutoInit(runl, description) + eAutoInitP0(int runl, const char *description): eAutoInit(runl, description) { eInit::add(rl, this); } @@ -116,7 +116,7 @@ public: { return t; } - eAutoInitPtr(int runl, char *description): eAutoInit(runl, description) + eAutoInitPtr(int runl, const char *description): eAutoInit(runl, description) { eInit::add(rl, this); } |
