stylistic change

recommended to me by a colleague
develop
Kelly Kinkade 2023-10-26 11:48:49 -05:00
parent f1ed469ca3
commit c9996d6e45
1 changed files with 1 additions and 1 deletions

@ -1715,7 +1715,7 @@ void Buildings::completebuild(df::building* bld, char in_play)
auto fp = df::global::buildingst_completebuild; auto fp = df::global::buildingst_completebuild;
CHECK_NULL_POINTER(fp); CHECK_NULL_POINTER(fp);
typedef std::function<void(df::building* bld, char)> FT; using FT = std::function<void(df::building* bld, char)>;
auto f = reinterpret_cast<FT*>(fp); auto f = reinterpret_cast<FT*>(fp);
(*f)(bld, in_play); (*f)(bld, in_play);
} }