mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
Replace redundant dereferencing
This commit is contained in:
parent
5d5f1693b5
commit
8995975892
@ -391,7 +391,7 @@ void DVDInterface::SetDisc(std::unique_ptr<DiscIO::VolumeDisc> disc,
|
|||||||
|
|
||||||
if (auto_disc_change_paths)
|
if (auto_disc_change_paths)
|
||||||
{
|
{
|
||||||
ASSERT_MSG(DISCIO, (*auto_disc_change_paths).size() != 1,
|
ASSERT_MSG(DISCIO, auto_disc_change_paths->size() != 1,
|
||||||
"Cannot automatically change between one disc");
|
"Cannot automatically change between one disc");
|
||||||
|
|
||||||
m_auto_disc_change_paths = *auto_disc_change_paths;
|
m_auto_disc_change_paths = *auto_disc_change_paths;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user