Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace xyz {
template <typename T>
struct is_protocol : std::false_type {};

template <typename T, typename Alloc>
template <typename T, typename Alloc = std::allocator<T>>
class protocol;

template <typename T, typename Alloc>
Expand Down Expand Up @@ -124,7 +124,7 @@ get_owning_vtable(const typename protocol_owning_vtable_traits<
sizeof(ToVtable), mapping_function));
}

template <typename T, typename A = std::allocator<T>>
template <typename T, typename A>
class protocol {
static_assert(
sizeof(T) == 0,
Expand Down
Loading