diff --git a/src/UndoManager.cpp b/src/UndoManager.cpp index 2155c44ff..92f81aa7e 100644 --- a/src/UndoManager.cpp +++ b/src/UndoManager.cpp @@ -35,7 +35,8 @@ UndoManager #include "UndoManager.h" -WX_DECLARE_HASH_SET(const BlockFile *, wxPointerHash, wxPointerEqual, Set ); +using ConstBlockFilePtr = const BlockFile*; +WX_DECLARE_HASH_SET(ConstBlockFilePtr, wxPointerHash, wxPointerEqual, Set ); struct UndoStackElem {