We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ac6025 commit 41a37d2Copy full SHA for 41a37d2
src/audio_player_portaudio.cpp
@@ -263,7 +263,7 @@ wxArrayString PortAudioPlayer::GetOutputDevices() {
263
list.push_back("Default");
264
265
try {
266
- PortAudioPlayer player(0);
+ PortAudioPlayer player(nullptr);
267
268
for (auto it = player.devices.begin(); it != player.devices.end(); ++it)
269
list.push_back(to_wx(it->first));
src/auto4_lua_assfile.cpp
@@ -298,7 +298,7 @@ namespace Automation4 {
298
sty->UpdateData();
299
}
300
else if (lclass == "dialogue") {
301
- assert(ass != 0); // since we need AssFile::AddExtradata
+ assert(ass != nullptr); // since we need AssFile::AddExtradata
302
auto dia = new AssDialogue;
303
result.reset(dia);
304
0 commit comments