summaryrefslogtreecommitdiff
path: root/project2/basics/aggregates/min.cpp
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2013-07-05 00:01:26 +0000
committerrandomdan <randomdan@localhost>2013-07-05 00:01:26 +0000
commit530d921225b019130585667d91bad25194179310 (patch)
tree6f3a750f79ad26047ff5322522219798d19aa64c /project2/basics/aggregates/min.cpp
parentMove remaining options out of environment (diff)
downloadproject2-530d921225b019130585667d91bad25194179310.tar.bz2
project2-530d921225b019130585667d91bad25194179310.tar.xz
project2-530d921225b019130585667d91bad25194179310.zip
Massive refactor to remove the appEngine and environment complication and instead have an execution context that's passed around from the original call site
Diffstat (limited to 'project2/basics/aggregates/min.cpp')
-rw-r--r--project2/basics/aggregates/min.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/basics/aggregates/min.cpp b/project2/basics/aggregates/min.cpp
index ee0bf3d..75b0b87 100644
--- a/project2/basics/aggregates/min.cpp
+++ b/project2/basics/aggregates/min.cpp
@@ -12,7 +12,7 @@ class Min : public ValueAggregate {
result = VariableType();
first = true;
}
- void pushValue(const VariableType & v) const
+ void pushValue(const VariableType & v, ExecContext *) const
{
if (first || v < result) {
result = v;