diff --git a/include/rotgen/dynamic/map.hpp b/include/rotgen/dynamic/map.hpp index 6f19b7f..8bd2732 100644 --- a/include/rotgen/dynamic/map.hpp +++ b/include/rotgen/dynamic/map.hpp @@ -77,7 +77,7 @@ namespace rotgen map& operator=(map const& other) requires(!is_immutable) { - base() = static_cast(*other); + base() = static_cast(other); return *this; }