diff options
-rw-r--r-- | common/rfb/LogWriter.cxx | 5 | ||||
-rw-r--r-- | common/rfb/LogWriter.h | 9 |
2 files changed, 0 insertions, 14 deletions
diff --git a/common/rfb/LogWriter.cxx b/common/rfb/LogWriter.cxx index 37a9d1ce..d0eaed6c 100644 --- a/common/rfb/LogWriter.cxx +++ b/common/rfb/LogWriter.cxx @@ -127,8 +127,3 @@ bool LogParameter::setParam(const char* v) { } return true; } - -void LogParameter::setDefault(const char* d) { - def_value = d; - setParam(def_value); -} diff --git a/common/rfb/LogWriter.h b/common/rfb/LogWriter.h index 104a8752..f718d60e 100644 --- a/common/rfb/LogWriter.h +++ b/common/rfb/LogWriter.h @@ -105,15 +105,6 @@ namespace rfb { public: LogParameter(); virtual bool setParam(const char* v); - - // Call this to set a suitable default value. - // Can't use the normal default mechanism for - // this because there is no guarantee on C++ - // constructor ordering - some LogWriters may - // not exist when LogParameter gets constructed. - // NB: The default value must exist for the - // lifetime of the process! - void setDefault(const char* v); }; extern LogParameter logParams; |