summaryrefslogtreecommitdiff
path: root/mask.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-20 02:14:53 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:28 -0400
commitb84f676946941df6f7e8476d77d1db0cbe7736c5 (patch)
tree9ee7c7a2d3b7496b38ad127519210adfeced2241 /mask.cc
parent539370ff1b37772e9f11439f652ffd3583beeedb (diff)
downloadfork-ledger-b84f676946941df6f7e8476d77d1db0cbe7736c5.tar.gz
fork-ledger-b84f676946941df6f7e8476d77d1db0cbe7736c5.tar.bz2
fork-ledger-b84f676946941df6f7e8476d77d1db0cbe7736c5.zip
Did some optimization and memory cleanup
Diffstat (limited to 'mask.cc')
-rw-r--r--mask.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/mask.cc b/mask.cc
index 11700a51..85a7570c 100644
--- a/mask.cc
+++ b/mask.cc
@@ -4,7 +4,9 @@
#include <cstdlib>
-mask_t::mask_t(const std::string& pat) : exclude(false)
+namespace ledger {
+
+mask_t::mask_t(const string& pat) : exclude(false)
{
const char * p = pat.c_str();
@@ -22,3 +24,5 @@ mask_t::mask_t(const std::string& pat) : exclude(false)
expr.assign(p);
}
+
+} // namespace ledger