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 /transform.h | |
parent | 539370ff1b37772e9f11439f652ffd3583beeedb (diff) | |
download | ledger-b84f676946941df6f7e8476d77d1db0cbe7736c5.tar.gz ledger-b84f676946941df6f7e8476d77d1db0cbe7736c5.tar.bz2 ledger-b84f676946941df6f7e8476d77d1db0cbe7736c5.zip |
Did some optimization and memory cleanup
Diffstat (limited to 'transform.h')
-rw-r--r-- | transform.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/transform.h b/transform.h index 74e770b2..e98c53a3 100644 --- a/transform.h +++ b/transform.h @@ -113,7 +113,7 @@ class select_transform : public transform_t xml::xpath_t xpath; public: - select_transform(const std::string& selection_path) { + select_transform(const string& selection_path) { xpath.parse(selection_path); } virtual ~select_transform() { @@ -127,7 +127,7 @@ class select_transform : public transform_t class remove_transform : public select_transform { public: - remove_transform(const std::string& selection_path) + remove_transform(const string& selection_path) : select_transform(selection_path) {} virtual void execute(xml::document_t * document); |