Skip to content

Commit

Permalink
@safe VFSRange constructors.
Browse files Browse the repository at this point in the history
  • Loading branch information
kiith-sa committed Aug 7, 2014
1 parent 17de635 commit 862bb5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/dgamevfs/vfs.d
Expand Up @@ -221,10 +221,10 @@ abstract class VFSDir
}

///Construct a range from a set of directories.
static VFSDirs dirsRange(VFSDirs.Items dirs) {return VFSDirs(dirs);}
static VFSDirs dirsRange(VFSDirs.Items dirs) @safe {return VFSDirs(dirs);}

///Construct a range from a set of _files.
static VFSFiles filesRange(VFSFiles.Items files) {return VFSFiles(files);}
static VFSFiles filesRange(VFSFiles.Items files) @safe {return VFSFiles(files);}

///Compose path for a _child directory. Used e.g. to allow $(D StackDir) to set children's paths.
string composePath(const VFSDir child) @safe const pure nothrow
Expand Down

0 comments on commit 862bb5b

Please sign in to comment.