python3 fix for autowaf.py
[ardour.git] / libs / pbd / openuri.cc
index a43c78a792e8297a20e560d609a3010126bf04c3..13d534e7606f9eb0102be399efdeb3d79a5ecd0c 100644 (file)
@@ -49,9 +49,14 @@ PBD::open_uri (const char* uri)
        std::string command = "xdg-open ";
        command += uri;
        command += " &";
-       system (command.c_str());
+       (void) system (command.c_str());
 
        return true;
 #endif
 }
 
+bool
+PBD::open_uri (const std::string& uri) 
+{
+       return open_uri (uri.c_str());
+}