mirror of
https://github.com/JakeHillion/object-introspection.git
synced 2024-11-12 21:56:54 +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
|
||||
// linking against folly, we define our own no-op version of this function here.
|
||||
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 <>
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user