diff --git a/include/sqlpp11/text.h b/include/sqlpp11/text.h index 76ee4450..ac67fc87 100644 --- a/include/sqlpp11/text.h +++ b/include/sqlpp11/text.h @@ -116,7 +116,7 @@ namespace sqlpp { _is_valid = true; _value_ptr = data; - _len = _value_ptr ? 0 : len; + _len = _value_ptr ? len: 0; } void validate()