git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a729c9b
)
Removed merge artifacts.
author
Maxim Mamontov
<faust.madf@gmail.com>
Tue, 5 Feb 2013 19:14:35 +0000
(21:14 +0200)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Tue, 5 Feb 2013 19:14:35 +0000
(21:14 +0200)
stglibs/conffiles.lib/conffiles.cpp
patch
|
blob
|
history
diff --git
a/stglibs/conffiles.lib/conffiles.cpp
b/stglibs/conffiles.lib/conffiles.cpp
index 4fb72f618ddc6e5f60abab6dff8d754280008446..302c365194ddd0cd6d08de0f4521a786c762c5ed 100644
(file)
--- a/
stglibs/conffiles.lib/conffiles.cpp
+++ b/
stglibs/conffiles.lib/conffiles.cpp
@@
-73,7
+73,6
@@
std::string Trim(std::string val)
{
return TrimR(TrimL(val));
}
-}
//---------------------------------------------------------------------------
} // namespace anonymous
@@
-115,13
+114,8
@@
while (getline(f, line))
return;
}
-<<<<<<< Updated upstream
std::string parameter = Trim(line.substr(0, pos));
std::string value = Trim(line.substr(pos + 1));
-=======
- std::string parameter = line.substr(0, pos);
- std::string value = line.substr(pos + 1);
->>>>>>> Stashed changes
param_val[parameter] = value;
}
}