summaryrefslogtreecommitdiff
path: root/src/option.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-16 10:46:05 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:53 -0400
commit2d8512af88eab26176089e53916f309f2d3b3be4 (patch)
tree5d0b6217a3367099d8a3fdb2866acc433c38e078 /src/option.h
parent1134fc7eff7094700abf16c2e532d7c3c40ae68d (diff)
downloadledger-2d8512af88eab26176089e53916f309f2d3b3be4.tar.gz
ledger-2d8512af88eab26176089e53916f309f2d3b3be4.tar.bz2
ledger-2d8512af88eab26176089e53916f309f2d3b3be4.zip
Changed all uses of scope_t * to scope_t&
Diffstat (limited to 'src/option.h')
-rw-r--r--src/option.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/option.h b/src/option.h
index 0c9a35fd..d26c8417 100644
--- a/src/option.h
+++ b/src/option.h
@@ -36,14 +36,14 @@
namespace ledger {
-void process_option(const string& name, xml::xpath_t::scope_t * scope,
+void process_option(const string& name, xml::xpath_t::scope_t& scope,
const char * arg = NULL);
void process_environment(const char ** envp, const string& tag,
- xml::xpath_t::scope_t * scope);
+ xml::xpath_t::scope_t& scope);
void process_arguments(int argc, char ** argv, const bool anywhere,
- xml::xpath_t::scope_t * scope,
+ xml::xpath_t::scope_t& scope,
std::list<string>& args);
DECLARE_EXCEPTION(option_error);