mirror of
https://github.com/JakeHillion/object-introspection.git
synced 2024-11-09 21:24:14 +00:00
Fix compiler warnings in folly_shims.cpp
This commit is contained in:
parent
a9ace14466
commit
d71a497df5
@ -8,11 +8,14 @@ namespace detail {
|
|||||||
// requires safe_assert_terminate() to be defined. To avoid building and
|
// requires safe_assert_terminate() to be defined. To avoid building and
|
||||||
// linking against folly, we define our own no-op version of this function here.
|
// linking against folly, we define our own no-op version of this function here.
|
||||||
template <>
|
template <>
|
||||||
void safe_assert_terminate<false>(safe_assert_arg const* arg, ...) noexcept {
|
void safe_assert_terminate<false>(safe_assert_arg const* /*arg*/,
|
||||||
|
...) noexcept {
|
||||||
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
void safe_assert_terminate<true>(safe_assert_arg const* arg, ...) noexcept {
|
void safe_assert_terminate<true>(safe_assert_arg const* /*arg*/, ...) noexcept {
|
||||||
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace detail
|
} // namespace detail
|
||||||
|
Loading…
Reference in New Issue
Block a user