forked from qt-creator/qt-creator
Debugger: Use better approximation for sizeof(double)
Change-Id: Iec35e285384b6b4a7b184383f56a0772348f4f7d Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -2259,7 +2259,7 @@ void WatchModel::showEditValue(const WatchItem *item)
|
||||
else if (innerType == "float") {
|
||||
if (innerSize == 4)
|
||||
reader = &readOne<float>;
|
||||
else if (innerSize == 4)
|
||||
else if (innerSize == 8)
|
||||
reader = &readOne<double>;
|
||||
}
|
||||
QTC_ASSERT(reader, return);
|
||||
|
||||
Reference in New Issue
Block a user