From dda4fc2586f73f7f7c49d90fd9e75a74898c84b0 Mon Sep 17 00:00:00 2001 From: rbock Date: Mon, 27 Jan 2014 12:12:38 +0100 Subject: [PATCH] Small fix in result row --- include/sqlpp11/result_row.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sqlpp11/result_row.h b/include/sqlpp11/result_row.h index b3cd937b..90b7a0b4 100644 --- a/include/sqlpp11/result_row.h +++ b/include/sqlpp11/result_row.h @@ -273,9 +273,9 @@ namespace sqlpp { _impl::invalidate(); _is_valid = false; - for (const auto& column : _dynamic_columns) + for (auto& field : _dynamic_fields) { - _dynamic_fields.at(column).invalidate(); + field.second.invalidate(); } }