mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
compiler warning fixes
Fix a bunch of "warning: type qualifiers ignored on function
return type" (you see them with -Wall -Wextra). Still lots to fix.
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@103 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: 7b87012631
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2009-12-21 (Mon, 21 Dec 2009)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: configfile.h,v 1.11 2003/09/25 18:52:27 thegoodguy Exp $
|
||||
* $Id: configfile.h,v 1.12 2009/02/24 19:09:06 seife Exp $
|
||||
*
|
||||
* Copyright (C) 2001, 2002 Andreas Oberritter <obi@tuxbox.org>,
|
||||
* thegoodguy <thegoodguy@tuxbox.org>
|
||||
@@ -51,11 +51,11 @@ class CConfigFile
|
||||
public:
|
||||
CConfigFile(const char p_delimiter, const bool p_saveDefaults = true);
|
||||
|
||||
const bool loadConfig(const char * const filename);
|
||||
const bool loadConfig(const std::string & filename);
|
||||
bool loadConfig(const char * const filename);
|
||||
bool loadConfig(const std::string & filename);
|
||||
|
||||
const bool saveConfig(const char * const filename);
|
||||
const bool saveConfig(const std::string & filename);
|
||||
bool saveConfig(const char * const filename);
|
||||
bool saveConfig(const std::string & filename);
|
||||
|
||||
void clear();
|
||||
|
||||
@@ -100,10 +100,10 @@ class CConfigFile
|
||||
//
|
||||
// flags
|
||||
//
|
||||
const bool getModifiedFlag() const { return modifiedFlag; }
|
||||
bool getModifiedFlag() const { return modifiedFlag; }
|
||||
void setModifiedFlag(const bool val) { modifiedFlag = val; }
|
||||
|
||||
const bool getUnknownKeyQueryedFlag() const { return unknownKeyQueryedFlag; }
|
||||
bool getUnknownKeyQueryedFlag() const { return unknownKeyQueryedFlag; }
|
||||
void setUnknownKeyQueryedFlag(const bool val) { unknownKeyQueryedFlag = val; }
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user