Selaa lähdekoodia

AK: Bring Singleton into the global namespace with `using`

Andreas Kling 4 vuotta sitten
vanhempi
commit
eb60cb156d
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      AK/Singleton.h

+ 3 - 0
AK/Singleton.h

@@ -110,4 +110,7 @@ public:
 private:
     mutable Atomic<T*> m_obj { nullptr };
 };
+
 }
+
+using AK::Singleton;