forked from qt-creator/qt-creator
Some clang-tidy -use-modernize-nullptr
Change-Id: I1bed5e85a5b7948d08502a72a10f80baa075c204 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -345,7 +345,7 @@ void BreakpointParameters::updateFromGdbOutput(const GdbMi &bkpt)
|
||||
QString what = bkpt["what"].data();
|
||||
if (what.startsWith("*0x")) {
|
||||
type = WatchpointAtAddress;
|
||||
address = what.midRef(1).toULongLong(0, 0);
|
||||
address = what.midRef(1).toULongLong(nullptr, 0);
|
||||
} else {
|
||||
type = WatchpointAtExpression;
|
||||
expression = what;
|
||||
|
||||
Reference in New Issue
Block a user