diff options
-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); |