diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-20 02:14:53 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:28 -0400 |
commit | b84f676946941df6f7e8476d77d1db0cbe7736c5 (patch) | |
tree | 9ee7c7a2d3b7496b38ad127519210adfeced2241 /mask.cc | |
parent | 539370ff1b37772e9f11439f652ffd3583beeedb (diff) | |
download | fork-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.cc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |