Draft: modernize C++11
* use nullptr
This commit is contained in:
@@ -58,7 +58,7 @@ private:
|
||||
{
|
||||
Base::Console().Warning("DraftUtils.readDXF is deprecated. Use Import.readDxf instead.\n");
|
||||
char* Name;
|
||||
const char* DocName=0;
|
||||
const char* DocName=nullptr;
|
||||
bool IgnoreErrors=true;
|
||||
if (!PyArg_ParseTuple(args.ptr(), "et|sb","utf-8",&Name,&DocName,&IgnoreErrors))
|
||||
throw Py::Exception();
|
||||
|
||||
Reference in New Issue
Block a user