summaryrefslogtreecommitdiff
path: root/generic/Input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'generic/Input.cpp')
-rw-r--r--generic/Input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/Input.cpp b/generic/Input.cpp
index a51ee65..b7ee99c 100644
--- a/generic/Input.cpp
+++ b/generic/Input.cpp
@@ -13,7 +13,7 @@
#define _(x) x
#endif
-Input::Input(String no) throw (GeneralException) :
+Input::Input(const String & no) throw (GeneralException) :
Handle(no.strlen() ? open(no.to_charp(), O_RDONLY) : dup(0)),
n(no) {
if (GetHandle() < 0) {