From 4d52ce80abf0e31ec42b87033d06e7055866b68b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 23 Apr 2015 16:11:22 +0200 Subject: Interface changes --- brep/module.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'brep') diff --git a/brep/module.cxx b/brep/module.cxx index 17790de..5937028 100644 --- a/brep/module.cxx +++ b/brep/module.cxx @@ -71,8 +71,10 @@ namespace brep // Custom copy constructor is required to initialize log_writer_ properly. // + // @@ Won't log_writer_ be left empty by this implementation? + // module:: - module (const module& m): module () {verb_ = m.verb_;} + module (const module& m): module (), verb_ (m.verb_) {} // For function func declared like this: // using B = std::string (*)(int); @@ -153,7 +155,7 @@ namespace brep // Considered using lambda for mapping but looks too verbose while can // be a bit safer in runtime. // - static int s[] = { APLOG_ERR, APLOG_WARNING, APLOG_INFO, APLOG_TRACE1 }; + static int s[] = {APLOG_ERR, APLOG_WARNING, APLOG_INFO, APLOG_TRACE1}; for (const auto& e : d) { -- cgit v1.1