diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-23 16:11:22 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-23 16:11:22 +0200 |
commit | 4d52ce80abf0e31ec42b87033d06e7055866b68b (patch) | |
tree | d8daec0f95d4681d6332b1eabcf77643838d9493 /brep | |
parent | a20443c285dabdec8d2ee740500c62e31ad90c7b (diff) |
Interface changes
Diffstat (limited to 'brep')
-rw-r--r-- | brep/module.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
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) { |