Description: Fix the C++ build.
Use the "std" namespace to fix the C++ build (#116402).
Constify the arguments to WManager::_CutString().
.
This patch has been forwarded to Meik Tessmer via private e-mail;
he responded that he will probably integrate it into a new release.
Forwarded: yes
Author: Martin Michlmayr <tbm@cyrius.com>,
Peter Pentchev <roam@ringlet.net>
Last-Update: 2009-09-08
diff -urNad wmanager-0.2.1~/inc/WManager.H wmanager-0.2.1/inc/WManager.H
--- wmanager-0.2.1~/inc/WManager.H 2007-12-17 13:23:00.000000000 +0200
+++ wmanager-0.2.1/inc/WManager.H 2007-12-17 13:24:20.000000000 +0200
@@ -80,17 +80,17 @@
private:
Interface* _Interface;
- string* _ConfigurationFilename;
+ std::string* _ConfigurationFilename;
void
- _ParseConfigurationFile(ifstream* filestream);
+ _ParseConfigurationFile(std::ifstream* filestream);
void
_TokenizeAndAddToBrowser(char* entry);
char*
- _CutString(char* str,
- char* sub);
+ _CutString(const char* str,
+ const char* sub);
};
#endif // WManager_H