summaryrefslogtreecommitdiff
path: root/include/Exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Exceptions.h')
-rw-r--r--include/Exceptions.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/Exceptions.h b/include/Exceptions.h
index c66f7d5..b7885cc 100644
--- a/include/Exceptions.h
+++ b/include/Exceptions.h
@@ -12,6 +12,7 @@ typedef int pid_t;
#endif
class String;
+struct ugly_string;
class Base {
public:
@@ -28,7 +29,8 @@ class Base {
static int pipe(int * p, int flag = 0);
static pid_t fork();
static void exit(int);
- static void printm(int level, String fmt, ...);
+ static void printm(int level, const ugly_string &, ...);
+ static void printm(int level, const char *, ...);
};
class String;