summaryrefslogtreecommitdiff
path: root/includes/Handle.h
diff options
context:
space:
mode:
authorNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-20 19:09:14 -0800
committerNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-20 19:09:14 -0800
commit76ab3f1ddc143d65e97ab301c742ad6553f1b560 (patch)
tree301510be8d9d96a1622bd9b0f43648dc74aa01df /includes/Handle.h
parent78d9b284f1879725c071a348c0542c0ff31ab4da (diff)
Adding open() as an operation to Input and Output.
Diffstat (limited to 'includes/Handle.h')
-rw-r--r--includes/Handle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/Handle.h b/includes/Handle.h
index e9e94b4..32a5975 100644
--- a/includes/Handle.h
+++ b/includes/Handle.h
@@ -15,6 +15,7 @@ class FileSystem {
class ENoEnt : public GeneralException {
public:
ENoEnt(const char * name) : GeneralException(String("No such file or directory: `") + name + "'") { }
+ ENoEnt(const String & name) : ENoEnt(name.to_charp()) { }
};
class IOBase;