Skip to content

Commit

Permalink
Removed use of std::endl. It is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
sago007 committed Sep 10, 2016
1 parent f0ff548 commit b2ba7c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sago/platform_folders.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The original files are hosted here: https://github.com/sago007/PlatformFolders
Copyright (c) 2015 Poul Sander
Copyright (c) 2015-2016 Poul Sander
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation files
Expand Down Expand Up @@ -142,7 +142,7 @@ static void appendExtraFoldersTokenizer(const char* envName, const char* envValu
else {
//Unless the system is wrongly configured this should never happen... But of course some systems will be incorectly configured.
//The XDG documentation indicates that the folder should be ignored but that the program should continue.
std::cerr << "Skipping path \"" << p << "\" in \"" << envName << "\" because it does not start with a \"/\"" << std::endl;
std::cerr << "Skipping path \"" << p << "\" in \"" << envName << "\" because it does not start with a \"/\"\n";
}
p = strtok_r (NULL, ":", &saveptr);
}
Expand Down Expand Up @@ -227,7 +227,7 @@ static void PlatformFoldersAddFromFile(const std::string& filename, std::map<std
std::string key = line.substr(0, splitPos);
std::string value = line.substr(splitPos+2, line.length()-splitPos-3);
folders[key] = value;
//std::cout << key << " : " << value << std::endl;
//std::cout << key << " : " << value << "\n";
}
}

Expand Down

0 comments on commit b2ba7c7

Please sign in to comment.