fix msvc2015 error

This commit is contained in:
Maxime Gimeno 2020-11-18 12:58:15 +01:00
parent 9f496e3e9d
commit 016adaa2a9
1 changed files with 2 additions and 2 deletions

View File

@ -966,8 +966,8 @@ public:
else{ else{
color = CGAL::Color(rgb[0], rgb[1], rgb[2]); color = CGAL::Color(rgb[0], rgb[1], rgb[2]);
} }
std::streampos ss_pos = iss.tellg(); std::iostream::pos_type ss_pos = iss.tellg();
if(ss_pos != -1) if(ss_pos != std::iostream::pos_type(-1))
{ {
position +=ss_pos; position +=ss_pos;
is.seekg(position); is.seekg(position);