|
|
@@ -36,7 +36,7 @@ namespace json { namespace binder {
|
|
|
virtual void write(T const& val, std::ostream & data) const override {
|
|
|
data << '[';
|
|
|
std::vector<V> const & vec = val.*ptr;
|
|
|
- typename std::vector<V>::const_iterator it = vec.begin(), end = vec.end();
|
|
|
+ auto it = vec.begin(), end = vec.end();
|
|
|
if (it != end) {
|
|
|
impl.write(*it, data);
|
|
|
for (++it; it != end; ++it) {
|