aboutsummaryrefslogtreecommitdiff
path: root/brep
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-23 16:11:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-23 16:11:22 +0200
commit4d52ce80abf0e31ec42b87033d06e7055866b68b (patch)
treed8daec0f95d4681d6332b1eabcf77643838d9493 /brep
parenta20443c285dabdec8d2ee740500c62e31ad90c7b (diff)
Interface changes
Diffstat (limited to 'brep')
-rw-r--r--brep/module.cxx6
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)
{