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); } };