mirror of https://github.com/CGAL/cgal
constructing a string from nullptr is undefined behavior
This commit is contained in:
parent
6905342894
commit
6680a6e6f9
|
|
@ -423,7 +423,7 @@ inline std::string BigFloatRep::toString(long prec, bool sci) const {
|
|||
else
|
||||
return r.rep;
|
||||
}
|
||||
return nullptr;
|
||||
return std::string();
|
||||
}
|
||||
|
||||
inline void BigFloatRep::dump() const {
|
||||
|
|
|
|||
Loading…
Reference in New Issue