diff --git a/src/Checkpoint.h b/src/Checkpoint.h index f82f7e4..f387da5 100644 --- a/src/Checkpoint.h +++ b/src/Checkpoint.h @@ -64,6 +64,6 @@ struct std::hash { std::size_t operator()(const Checkpoint&checkpoint)const { - return std::hash()((((int_fast64_t)(*(int_fast32_t*)(&checkpoint.pos.x))<<32)|*(int_fast32_t*)(&checkpoint.pos.y))); + return (int_fast64_t)(*(int_fast32_t*)(&checkpoint.pos.x))<<32|*(int_fast32_t*)(&checkpoint.pos.y); } }; \ No newline at end of file