You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rm...@apache.org on 2021/11/06 01:48:37 UTC
[logging-log4cxx] 01/02: add destructor for HTMLLayout
This is an automated email from the ASF dual-hosted git repository.
rmiddleton pushed a commit to branch LOGCXX-510
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
commit 8b4c5dd73dc3c4cc1e4e85e5e7bd6f79fdbe02fb
Author: Robert Middleton <ro...@rm5248.com>
AuthorDate: Fri Nov 5 21:41:11 2021 -0400
add destructor for HTMLLayout
---
src/main/cpp/htmllayout.cpp | 2 ++
src/main/include/log4cxx/htmllayout.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/src/main/cpp/htmllayout.cpp b/src/main/cpp/htmllayout.cpp
index 32e8596..60930fa 100644
--- a/src/main/cpp/htmllayout.cpp
+++ b/src/main/cpp/htmllayout.cpp
@@ -54,6 +54,8 @@ HTMLLayout::HTMLLayout()
m_priv->dateFormat.setTimeZone(TimeZone::getGMT());
}
+HTMLLayout::~HTMLLayout(){}
+
void HTMLLayout::setOption(const LogString& option,
const LogString& value)
diff --git a/src/main/include/log4cxx/htmllayout.h b/src/main/include/log4cxx/htmllayout.h
index e7d8ac1..c0bf1ac 100644
--- a/src/main/include/log4cxx/htmllayout.h
+++ b/src/main/include/log4cxx/htmllayout.h
@@ -48,6 +48,7 @@ class LOG4CXX_EXPORT HTMLLayout : public Layout
END_LOG4CXX_CAST_MAP()
HTMLLayout();
+ ~HTMLLayout();
/**
The <b>LocationInfo</b> option takes a boolean value. By