fix bug of C++ feature detection(#338)

This commit is contained in:
Jinhao
2018-09-25 02:07:15 +08:00
parent 7fea766f99
commit 2c3d75c709
2 changed files with 4 additions and 4 deletions

View File

@@ -303,7 +303,7 @@ namespace nana
extent_size.width = width_px;
for (auto & vsline : rs.vslines)
extent_size.height += vsline.extent_height_px;
extent_size.height += static_cast<size::value_type>(vsline.extent_height_px);
content_lines.emplace_back(std::move(rs.vslines));