summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Otto <martijn.otto@copernica.com>2014-10-22 13:57:55 +0200
committerMartijn Otto <martijn.otto@copernica.com>2014-10-22 13:57:55 +0200
commit6b2eaeb89e0f2b0ff158ab318b2ed53c46921bad (patch)
tree1c48fbd3bf79f3327a5d8c37fbe0b9e20df6e390
parenta2a3b8e78ff00496e391e51d7da0f59659948fba (diff)
emplace_back does not work, since some types cannot be constructed directly from a Php::Value
-rw-r--r--include/value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/value.h b/include/value.h
index 77bc0e2..5f387be 100644
--- a/include/value.h
+++ b/include/value.h
@@ -469,7 +469,7 @@ public:
if (!contains(i)) continue;
// get the value and add it to the vector
- result.emplace_back(get(i));
+ result.push_back(get(i));
}
// done