diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-03-01 22:44:25 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-03-01 22:44:25 +0000 |
commit | 5131b1ecc84eae0e091617cf6fa6c3f5154b9f5f (patch) | |
tree | c3c080b031215ad76d5a9312a1000d2df79c1207 /lib/server/Daemon.h | |
parent | edf149ca9d5a819ee63863f909b7fa01c54fb39e (diff) |
Workaround for (buggy?) gcc not finding inherited Main method on
Windows.
Diffstat (limited to 'lib/server/Daemon.h')
-rw-r--r-- | lib/server/Daemon.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/server/Daemon.h b/lib/server/Daemon.h index 482f926e..60444ab9 100644 --- a/lib/server/Daemon.h +++ b/lib/server/Daemon.h @@ -40,7 +40,8 @@ private: Daemon(const Daemon &rToCopy); public: - int Main(const char *DefaultConfigFile, int argc, const char *argv[]); + virtual int Main(const char *DefaultConfigFile, int argc, + const char *argv[]); /* override this Main() if you want custom option processing: */ virtual int Main(const std::string &rConfigFile); |