From 5efaa5125fe92a5438b3cc2949f4d720bced5a7a Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 2 Mar 2024 12:55:32 +0000 Subject: General code cleanups * Don't needlessly store or return raw pointers in BeingInfo * Less copying, more moving * Less else after return * Make AddDEF a template instead of a macro * Removed some unused includes * Use range-based for loops --- src/resources/action.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/resources/action.h') diff --git a/src/resources/action.h b/src/resources/action.h index bf229abd..8a9a76f2 100644 --- a/src/resources/action.h +++ b/src/resources/action.h @@ -43,9 +43,7 @@ class Action Animation *getAnimation(int direction) const; protected: - using Animations = std::map; - using AnimationIterator = Animations::iterator; - Animations mAnimations; + std::map mAnimations; }; #endif -- cgit v1.2.3-70-g09d2