aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.h
diff options
context:
space:
mode:
authorGravatar Jan Kanis <jan.code@jankanis.nl>2013-01-14 00:49:32 +0100
committerGravatar Jan Kanis <jan.code@jankanis.nl>2013-01-14 00:49:32 +0100
commit44f70d2b5219c421ebe1cfaf90b07752a29360fb (patch)
tree32a58ca942b6c32a0e6ed7f12e2b9a6ec3c7b0d9 /parser.h
parentacbb6fb8e2a12c9071b9729e4033cdb2a3d39c07 (diff)
stop profile switch from crashing (issue #517); also make print_profile use a loop instead of recursion
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.h b/parser.h
index e36a1a92..811c1527 100644
--- a/parser.h
+++ b/parser.h
@@ -353,7 +353,7 @@ private:
void print_errors_stderr();
public:
- std::vector<profile_item_t> profile_items;
+ std::vector<profile_item_t*> profile_items;
/**
Returns the name of the currently evaluated function if we are