```cpp
std::map<std::pair<P::CoordinatePermutation const,
                   P::CoordinatePermutation const> const,
         P::CoordinatePermutation const> const
```
Two missing consts.