Skip to content

Commit

Permalink
fixup Release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
wthrowe committed Feb 18, 2025
1 parent c66ca19 commit 03cac07
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Domain/CoordinateMaps/CoordinateMap.tpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,14 @@ struct map_type<std::unique_ptr<T>> {
template <typename T>
using map_type_t = typename map_type<T>::type;

// For standard compliance, this function definition would have to be
// available whenever it is called from CoordinateMap::pup (or we'd
// have to explicitly instantiate it). In practice, marking it
// noinline makes the call from the constructor below visible to the
// linker and puts less stuff in the header file. If that stops
// working, it can be moved.
template <typename... Maps, size_t... Is>
__attribute__((noinline))
std::unordered_set<std::string> initialize_names(
const std::tuple<Maps...>& maps, std::index_sequence<Is...> /*meta*/) {
std::unordered_set<std::string> function_of_time_names{};
Expand Down

0 comments on commit 03cac07

Please sign in to comment.