git repos / PlatformFolders

commit 0c48f2f0

Poul Sander · 2019-02-13 16:55
0c48f2f07cef3787ba089a0d99bad3f5c60ce770 patch · browse files
parent 2a74df65a39671c738b871f8af98f7580708992d

Problem on Travis with the type of constructor

Changed files

M sago/platform_folders.cpp before
diff --git a/sago/platform_folders.cpp b/sago/platform_folders.cpp index bb9f621..1c9b99c 100644 --- a/sago/platform_folders.cpp +++ b/sago/platform_folders.cpp
@@ -178,7 +178,7 @@ namespace sago {
#if !defined(_WIN32) && !defined(__APPLE__)
namespace internal {
void appendExtraFoldersTokenizer(const char* envName, const char* envValue, std::vector<std::string>& folders) {
- std::stringstream ss = std::stringstream(envValue);
+ std::stringstream ss(envValue);
std::string value;
while (std::getline(ss, value, ':')) {
if (value[0] == '/') {