]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/fs_filesystem.h
Wrap GtkScrolledWindow
[xonotic/netradiant.git] / libs / fs_filesystem.h
index 5cd42a63a397826e8d4e650d11b3b792420b0ea8..a3c2e0f3d95f0fc9a5021b83a26ba000036c2abb 100644 (file)
@@ -48,14 +48,14 @@ class GenericFileSystem
 {
 class Path
 {
-CopiedString m_path;
+std::string m_path;
 unsigned int m_depth;
 public:
 Path( const char* path )
        : m_path( path ), m_depth( path_get_depth( c_str() ) ){
 }
 Path( StringRange range )
-       : m_path( range ), m_depth( path_get_depth( c_str() ) ){
+       : m_path( range.first, range.last ), m_depth( path_get_depth( c_str() ) ){
 }
 bool operator<( const Path& other ) const {
        return string_less_nocase( c_str(), other.c_str() );