summaryrefslogtreecommitdiff
path: root/src/scope.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-07 02:49:03 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-07 03:38:09 -0600
commitc86bbd45471ab4ef5d0dd133f6923596230975da (patch)
tree17a328bb75e2e2305a437d70303bf28319c3362d /src/scope.h
parentcabec6db1a9a6dab3dd190494a2a786aebe5f22f (diff)
downloadfork-ledger-c86bbd45471ab4ef5d0dd133f6923596230975da.tar.gz
fork-ledger-c86bbd45471ab4ef5d0dd133f6923596230975da.tar.bz2
fork-ledger-c86bbd45471ab4ef5d0dd133f6923596230975da.zip
Whitespace fixes
Diffstat (limited to 'src/scope.h')
-rw-r--r--src/scope.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/scope.h b/src/scope.h
index e5127dbd..7a50c423 100644
--- a/src/scope.h
+++ b/src/scope.h
@@ -144,8 +144,7 @@ public:
explicit child_scope_t() : parent(NULL) {
TRACE_CTOR(child_scope_t, "");
}
- explicit child_scope_t(scope_t& _parent)
- : parent(&_parent) {
+ explicit child_scope_t(scope_t& _parent) : parent(&_parent) {
TRACE_CTOR(child_scope_t, "scope_t&");
}
virtual ~child_scope_t() {
@@ -276,7 +275,7 @@ class symbol_scope_t : public child_scope_t
optional<symbol_map> symbols;
public:
- explicit symbol_scope_t() {
+ explicit symbol_scope_t() : child_scope_t() {
TRACE_CTOR(symbol_scope_t, "");
}
explicit symbol_scope_t(scope_t& _parent) : child_scope_t(_parent) {
@@ -388,8 +387,7 @@ public:
: context_scope_t(_parent, _parent.type_context(),
_parent.type_required()),
ptr(NULL), locus(_locus), depth(_depth) {
- TRACE_CTOR(call_scope_t,
- "scope_t&, value_t::type_t, bool, expr_t::ptr_op_t *, int");
+ TRACE_CTOR(call_scope_t, "scope_t&, expr_t::ptr_op_t *, const int");
}
virtual ~call_scope_t() {
TRACE_DTOR(call_scope_t);