From c0853f7240b42dc38fd694ff476bfc8d2d531021 Mon Sep 17 00:00:00 2001 From: rbock Date: Thu, 16 Mar 2017 21:33:52 +0100 Subject: [PATCH] Appease MSVC --- include/sqlpp11/data_types/text/result_field.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sqlpp11/data_types/text/result_field.h b/include/sqlpp11/data_types/text/result_field.h index 11639a04..a4d6f97c 100644 --- a/include/sqlpp11/data_types/text/result_field.h +++ b/include/sqlpp11/data_types/text/result_field.h @@ -50,7 +50,7 @@ namespace sqlpp if (text) this->_value.assign(text, len); else - this->_value.assign("", 0); + this->_value.assign(""); this->_is_null = (text == nullptr); } @@ -61,7 +61,7 @@ namespace sqlpp if (text) this->_value.assign(text, len); else - this->_value.assign("", 0); + this->_value.assign(""); this->_is_null = (text == nullptr); } };