diff --git a/lib/rmg/RmgPath.h b/lib/rmg/RmgPath.h index 8cfe9e59f..7707e1abb 100644 --- a/lib/rmg/RmgPath.h +++ b/lib/rmg/RmgPath.h @@ -21,7 +21,7 @@ namespace rmg class Path { public: - typedef std::function MoveCostFunction; + using MoveCostFunction = std::function; const static MoveCostFunction DEFAULT_MOVEMENT_FUNCTION; Path(const Area & area);