Parcourir la source

profile_manager: Remove unnecessary static

This can just be constexpr like the others
Lioncash il y a 8 ans
Parent
commit
dfdf4a46fe
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/core/hle/service/acc/profile_manager.h

+ 1 - 1
src/core/hle/service/acc/profile_manager.h

@@ -14,7 +14,7 @@
 namespace Service::Account {
 constexpr size_t MAX_USERS = 8;
 constexpr size_t MAX_DATA = 128;
-static const u128 INVALID_UUID = {0, 0};
+constexpr u128 INVALID_UUID{{0, 0}};
 
 struct UUID {
     // UUIDs which are 0 are considered invalid!