summaryrefslogtreecommitdiff
path: root/tools/utils.h
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2012-11-22 18:21:17 -0800
committerJohn Denker <jsd@av8n.com>2012-11-22 18:21:17 -0800
commit33981cf1aba48b7589fbdc685eeaa8a52ece8c4f (patch)
tree6eac350efefc6c04191b2e53fb58e9f6b4f436c9 /tools/utils.h
parent4dd94a839cbae8a45889b224945eeaa6fb93b578 (diff)
add hooks for redirecting main output
Diffstat (limited to 'tools/utils.h')
-rw-r--r--tools/utils.h3
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();