make _height int, and use static_cast, i.e.:
```cpp
_height = static_cast< int >( _map.size() );
```