Skip to content

Commit

Permalink
[libc++] NFC: Remove warning about non-void function returning void
Browse files Browse the repository at this point in the history
  • Loading branch information
ldionne committed Nov 2, 2020
1 parent f03be9d commit ca62b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcxx/test/libcxx/utilities/any/allocator.pass.cpp
Expand Up @@ -77,7 +77,7 @@ namespace std {
using propagate_on_container_move_assignment = std::true_type;
using is_always_equal = std::true_type;

Small* allocate(std::size_t) { assert(false); }
Small* allocate(std::size_t) { assert(false); return nullptr; }

template <typename ...Args>
void construct(Small* p, Args&& ...args) {
Expand Down

0 comments on commit ca62b86

Please sign in to comment.