From 5131b1ecc84eae0e091617cf6fa6c3f5154b9f5f Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 1 Mar 2008 22:44:25 +0000 Subject: Workaround for (buggy?) gcc not finding inherited Main method on Windows. --- lib/server/Daemon.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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); -- cgit v1.2.3