mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Replace uses of cassert with Common/Assert.h
This commit is contained in:
parent
a2fa9aab5b
commit
004dfd1586
20 changed files with 66 additions and 63 deletions
|
@ -5,7 +5,6 @@
|
|||
#include "DolphinQt/GCMemcardManager.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
@ -29,6 +28,7 @@
|
|||
#include <QTimer>
|
||||
#include <QToolButton>
|
||||
|
||||
#include "Common/Assert.h"
|
||||
#include "Common/CommonPaths.h"
|
||||
#include "Common/Config/Config.h"
|
||||
#include "Common/FileUtil.h"
|
||||
|
@ -387,7 +387,7 @@ static QString GetFormatDescription(Memcard::SavefileFormat format)
|
|||
case Memcard::SavefileFormat::SAV:
|
||||
return QObject::tr("Datel MaxDrive/Pro files");
|
||||
default:
|
||||
assert(0);
|
||||
ASSERT(0);
|
||||
return QObject::tr("Native GCI File");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue