MCPcopy Create free account
hub / github.com/SeisSol/SeisSol / zeroLengthArrayHandler

Function zeroLengthArrayHandler

src/Common/Constants.h:20–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18constexpr std::size_t PagesizeStack = 4096;
19
20constexpr auto zeroLengthArrayHandler(std::size_t x) -> std::size_t { return x == 0 ? 1 : x; }
21} // namespace seissol
22
23#endif // SEISSOL_SRC_COMMON_CONSTANTS_H_

Callers 2

LTSClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected