Skip to content

Commit

Permalink
make functions inline
Browse files Browse the repository at this point in the history
  • Loading branch information
simon1hofmann committed May 23, 2023
1 parent e88df5f commit 558368f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions experiments/fiction_experiments.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static constexpr const std::array benchmarks {
// clang-format on
// NOLINTEND(readability-identifier-naming)

std::vector<std::string> trindade16_benchmarks(uint64_t selection = trindade16)
inline std::vector<std::string> trindade16_benchmarks(uint64_t selection = trindade16)
{
std::vector<std::string> result{};
for (uint64_t i = 0u; i < 7u; ++i)
Expand All @@ -121,7 +121,7 @@ std::vector<std::string> trindade16_benchmarks(uint64_t selection = trindade16)
return result;
}

std::vector<std::string> fontes18_benchmarks(uint64_t selection = fontes18)
inline std::vector<std::string> fontes18_benchmarks(uint64_t selection = fontes18)
{
std::vector<std::string> result{};
for (uint64_t i = 7u; i < 23u; ++i)
Expand All @@ -135,7 +135,7 @@ std::vector<std::string> fontes18_benchmarks(uint64_t selection = fontes18)
return result;
}

std::vector<std::string> iscas85_benchmarks(uint64_t selection = iscas85)
inline std::vector<std::string> iscas85_benchmarks(uint64_t selection = iscas85)
{
std::vector<std::string> result{};
for (uint64_t i = 23u; i < 34u; ++i)
Expand All @@ -149,7 +149,7 @@ std::vector<std::string> iscas85_benchmarks(uint64_t selection = iscas85)
return result;
}

std::vector<std::string> epfl_benchmarks(uint64_t selection = epfl)
inline std::vector<std::string> epfl_benchmarks(uint64_t selection = epfl)
{
std::vector<std::string> result{};
for (uint64_t i = 34u; i < 51u; ++i)
Expand All @@ -163,7 +163,7 @@ std::vector<std::string> epfl_benchmarks(uint64_t selection = epfl)
return result;
}

std::vector<std::string> all_benchmarks(uint64_t selection = all)
inline std::vector<std::string> all_benchmarks(uint64_t selection = all)
{
std::vector<std::string> result{};
for (uint64_t i = 0u; i < 51u; ++i)
Expand Down

0 comments on commit 558368f

Please sign in to comment.