Commit 8345bfa3 authored by Dominik Charousset's avatar Dominik Charousset

Use 64 instead of 32 bit for actor IDs

parent 06a2788a
...@@ -47,7 +47,7 @@ namespace caf { ...@@ -47,7 +47,7 @@ namespace caf {
/// A unique actor ID. /// A unique actor ID.
/// @relates abstract_actor /// @relates abstract_actor
using actor_id = uint32_t; using actor_id = uint64_t;
/// Denotes an ID that is never used by an actor. /// Denotes an ID that is never used by an actor.
constexpr actor_id invalid_actor_id = 0; constexpr actor_id invalid_actor_id = 0;
...@@ -116,7 +116,7 @@ public: ...@@ -116,7 +116,7 @@ public:
} }
/// Returns the unique ID of this actor. /// Returns the unique ID of this actor.
inline uint32_t id() const { inline actor_id id() const {
return id_; return id_;
} }
......
...@@ -89,7 +89,7 @@ struct prohibit_top_level_spawn_marker; ...@@ -89,7 +89,7 @@ struct prohibit_top_level_spawn_marker;
enum class atom_value : uint64_t; enum class atom_value : uint64_t;
// aliases // aliases
using actor_id = uint32_t; using actor_id = uint64_t;
namespace io { namespace io {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment