1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-23 04:12:02 +00:00

kern: fix syntax in audit statement

This commit is contained in:
Michael Scire 2022-02-19 13:26:08 -08:00
parent 36e3519982
commit 4c7fd70c10

View file

@ -96,7 +96,7 @@ namespace ams::kern {
size_t count = 0; size_t count = 0;
for (const auto &obj : list) { for (const auto &obj : list) {
MESOSPHERE_AUDIT(obj.DynamicCast<const U *>() != nullptr); MESOSPHERE_AUDIT(obj.template DynamicCast<const U *>() != nullptr);
if (static_cast<const U &>(obj).GetOwner() == owner) { if (static_cast<const U &>(obj).GetOwner() == owner) {
++count; ++count;
} }