You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ts...@apache.org on 2020/06/06 12:43:58 UTC

[logging-log4cxx] 03/05: replace using with scoped typedef as in propertyfilter

This is an automated email from the ASF dual-hosted git repository.

tschoening pushed a commit to branch ghpr_24_mapfilter
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git

commit b26712e72e619228fe149afc28fe70cc93fb6d34
Author: Patrick Mills <pa...@cerberusftp.com>
AuthorDate: Sat Jun 6 03:01:04 2020 -0400

    replace using with scoped typedef as in propertyfilter
---
 src/main/include/log4cxx/filter/mapfilter.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/include/log4cxx/filter/mapfilter.h b/src/main/include/log4cxx/filter/mapfilter.h
index 2745344..f4653e0 100644
--- a/src/main/include/log4cxx/filter/mapfilter.h
+++ b/src/main/include/log4cxx/filter/mapfilter.h
@@ -32,10 +32,10 @@ namespace filter
  * A Filter that operates on a Map.
  */
 
-using KeyValList = std::map<LogString, LogString>;
-
 class LOG4CXX_EXPORT MapFilter: public log4cxx::spi::Filter
 {
+	typedef std::map < LogString, LogString > KeyValList;
+
 	private:
 		bool acceptOnMatch = true;
 		bool mustMatchAll = false;  // true = AND; false = OR