From 6b2eaeb89e0f2b0ff158ab318b2ed53c46921bad Mon Sep 17 00:00:00 2001 From: Martijn Otto Date: Wed, 22 Oct 2014 13:57:55 +0200 Subject: emplace_back does not work, since some types cannot be constructed directly from a Php::Value --- include/value.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3