Skip to content

Commit

Permalink
Merge pull request turesnake#2 from dayu521/master
Browse files Browse the repository at this point in the history
修改函数缺少constexpr
  • Loading branch information
turesnake authored Apr 6, 2020
2 parents a394029 + c8ca102 commit 29ff14f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Engine/map/MapAltitude.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ class MapAltitude{
return (this->val >= 0);
}

inline int get_val()const noexcept{ return this->val; }
inline int get_lvl()const noexcept{ return this->lvl; }
constexpr inline int get_val()const noexcept{ return this->val; }
constexpr inline int get_lvl()const noexcept{ return this->lvl; }

private:
void init( double altiVal_from_gpgpu_ );
Expand Down

0 comments on commit 29ff14f

Please sign in to comment.