Seg fault!
This commit is contained in:
@@ -162,7 +162,7 @@ namespace remotepath {
|
||||
// ------------------------------------------------------------------------------------------
|
||||
// Utility functions
|
||||
|
||||
std::string get_parent(std::string path)
|
||||
std::string get_parent(const std::string &path)
|
||||
{
|
||||
if (path.empty())
|
||||
return std::string();
|
||||
|
@@ -84,7 +84,7 @@ namespace dropshell {
|
||||
|
||||
//------------------------------------------------------------------------------------------------
|
||||
// utility functions
|
||||
std::string get_parent(std::string path);
|
||||
std::string get_parent(const std::string &path);
|
||||
|
||||
} // namespace dropshell
|
||||
|
||||
|
Reference in New Issue
Block a user