mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +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:
@@ -49,7 +49,7 @@ void CConfigFile::clear()
|
||||
//
|
||||
// public file operation methods
|
||||
//
|
||||
const bool CConfigFile::loadConfig(const char * const filename)
|
||||
bool CConfigFile::loadConfig(const char * const filename)
|
||||
{
|
||||
std::ifstream configFile(filename);
|
||||
|
||||
@@ -84,12 +84,12 @@ const bool CConfigFile::loadConfig(const char * const filename)
|
||||
}
|
||||
}
|
||||
|
||||
const bool CConfigFile::loadConfig(const std::string & filename)
|
||||
bool CConfigFile::loadConfig(const std::string & filename)
|
||||
{
|
||||
return loadConfig(filename.c_str());
|
||||
}
|
||||
|
||||
const bool CConfigFile::saveConfig(const char * const filename)
|
||||
bool CConfigFile::saveConfig(const char * const filename)
|
||||
{
|
||||
std::ofstream configFile(filename);
|
||||
|
||||
@@ -114,7 +114,7 @@ const bool CConfigFile::saveConfig(const char * const filename)
|
||||
}
|
||||
}
|
||||
|
||||
const bool CConfigFile::saveConfig(const std::string & filename)
|
||||
bool CConfigFile::saveConfig(const std::string & filename)
|
||||
{
|
||||
return saveConfig(filename.c_str());
|
||||
}
|
||||
|
Reference in New Issue
Block a user