summaryrefslogtreecommitdiff
path: root/src/lib/exceptions.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-24 20:53:46 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-24 20:53:46 +0100
commit7a8f7e87d631adec94b6b2e61e524ee9424e8284 (patch)
tree8b0f0876ca78ff30fb32b49987c1102613874417 /src/lib/exceptions.h
parent13e4b80a7d44b7c4bc75bef191d6d5621b25ceab (diff)
Use stdio for reading jobs for SCP.
Diffstat (limited to 'src/lib/exceptions.h')
-rw-r--r--src/lib/exceptions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/exceptions.h b/src/lib/exceptions.h
index b66d7baa7..6b567805b 100644
--- a/src/lib/exceptions.h
+++ b/src/lib/exceptions.h
@@ -127,7 +127,7 @@ public:
/** @param f File that we were trying to read from.
* @param e errno value, or 0.
*/
- ReadFileError (std::string f, int e)
+ ReadFileError (std::string f, int e = 0)
: FileError ("", f)
{
std::stringstream s;