diff --git a/include/cpprealm/internal/bridge/realm.hpp b/include/cpprealm/internal/bridge/realm.hpp
index c7220b12..308d92ae 100644
--- a/include/cpprealm/internal/bridge/realm.hpp
+++ b/include/cpprealm/internal/bridge/realm.hpp
@@ -27,6 +27,7 @@
 #include <optional>
 #include <string>
 #include <vector>
+#include <cstdint>
 
 namespace realm {
     class Realm;
diff --git a/include/cpprealm/link.hpp b/include/cpprealm/link.hpp
index 059a6d50..30a10bb5 100644
--- a/include/cpprealm/link.hpp
+++ b/include/cpprealm/link.hpp
@@ -187,7 +187,7 @@ namespace realm {
         }
 
     private:
-        managed<T*>() = default;
+        managed() = default;
         template<typename, typename>
         friend struct managed;
     };