Sfoglia il codice sorgente

profile_manager: Remove unnecessary static

This can just be constexpr like the others
Lioncash 8 anni fa
parent
commit
dfdf4a46fe
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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!