diff options
author | John Denker <jsd@av8n.com> | 2012-11-22 18:21:17 -0800 |
---|---|---|
committer | John Denker <jsd@av8n.com> | 2012-11-22 18:21:17 -0800 |
commit | 33981cf1aba48b7589fbdc685eeaa8a52ece8c4f (patch) | |
tree | 6eac350efefc6c04191b2e53fb58e9f6b4f436c9 /tools/utils.h | |
parent | 4dd94a839cbae8a45889b224945eeaa6fb93b578 (diff) |
add hooks for redirecting main output
Diffstat (limited to 'tools/utils.h')
-rw-r--r-- | tools/utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/utils.h b/tools/utils.h index 1e6ac9d..0ef0fca 100644 --- a/tools/utils.h +++ b/tools/utils.h @@ -67,8 +67,9 @@ public: argv.pop_front(); return rslt; } - void next(){ + std::string next(){ current_arg = shift(); + return current_arg; } size_t size() const { return argv.size(); |