From d5d0184206ebebaa53720b3af5a6d14d23aafaa1 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Mon, 5 Aug 2013 07:04:18 +0200 Subject: Sure, why not. --- includes/Input.h | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3