diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-08-05 07:04:18 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-08-05 07:04:18 +0200 |
commit | d5d0184206ebebaa53720b3af5a6d14d23aafaa1 (patch) | |
tree | 2a571976ccc49ee5fb86e2908d9c0fee608c4c9e /includes | |
parent | 0afa615d1db99f5a27459f4dc6fc8c045e55c4e6 (diff) |
Sure, why not.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/Input.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/Input.h b/includes/Input.h index 09e0ee4..be9e4cf 100644 --- a/includes/Input.h +++ b/includes/Input.h @@ -7,6 +7,7 @@ namespace Balau { class Input : public SeekableHandle { public: Input(const char * fname); + Input(const String & str) : Input(str.to_charp()) { } void open() throw (GeneralException); virtual void close() throw (GeneralException); virtual ssize_t read(void * buf, size_t count) throw (GeneralException); |