summaryrefslogtreecommitdiff
path: root/src/goal_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/goal_base.h')
-rw-r--r--src/goal_base.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/goal_base.h b/src/goal_base.h
index 7b789abde..13776d22c 100644
--- a/src/goal_base.h
+++ b/src/goal_base.h
@@ -30,12 +30,12 @@ struct Goal : GoalPool::PoolItem<&_goal_pool> {
/**
* We need an (empty) constructor so struct isn't zeroed (as C++ standard states)
*/
- FORCEINLINE Goal() { }
+ inline Goal() { }
/**
* (Empty) destructor has to be defined else operator delete might be called with NULL parameter
*/
- FORCEINLINE ~Goal() { free(this->text); }
+ inline ~Goal() { free(this->text); }
};
#define FOR_ALL_GOALS_FROM(var, start) FOR_ALL_ITEMS_FROM(Goal, goal_index, var, start)