fix insecure implementation of debugprint
This commit is contained in:
parent
b61a95c7de
commit
e76870173b
|
@ -74,7 +74,7 @@ PyMOD_INIT_FUNC(Measure)
|
|||
}
|
||||
|
||||
// debug print for sketchsolv
|
||||
void debugprint(std::string s)
|
||||
void debugprint(const std::string& s)
|
||||
{
|
||||
Base::Console().Log(s.c_str());
|
||||
Base::Console().Log("%s", s.c_str());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user