Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / www / ap2-suphp / patches / patch-src_IniSection.cpp
blob6d5d474ddb344eca89edf9b43c1bad981c1d6d6b
1 $NetBSD$
3 --- src/IniSection.cpp.orig 2013-05-04 14:22:11.000000000 +0000
4 +++ src/IniSection.cpp
5 @@ -36,8 +36,8 @@ void suPHP::IniSection::putValue(const s
6 const std::vector<std::string> suPHP::IniSection::getValues(const std::string& key) const
7 throw (KeyNotFoundException) {
8 std::vector<std::string> values;
9 - std::pair<std::multimap<const std::string, const std::string>::const_iterator, std::multimap<const std::string, const std::string>::const_iterator> range = this->entries.equal_range(key);
10 - for (std::multimap<const std::string, const std::string>::const_iterator pos =
11 + std::pair<std::multimap<std::string, std::string>::const_iterator, std::multimap<std::string, std::string>::const_iterator> range = this->entries.equal_range(key);
12 + for (std::multimap<std::string, std::string>::const_iterator pos =
13 range.first; pos != range.second; pos++) {
14 values.push_back(pos->second);
16 @@ -62,7 +62,7 @@ std::string suPHP::IniSection::getValue(
18 const std::vector<std::string> suPHP::IniSection::getKeys() const {
19 std::vector<std::string> keys;
20 - for (std::multimap<const std::string, const std::string>::const_iterator pos =
21 + for (std::multimap<std::string, std::string>::const_iterator pos =
22 this->entries.begin();
23 pos != this->entries.end(); pos++) {
24 keys.push_back(pos->first);