Skip to content

Commit 1f76880

Browse files
committed
util: Get rid of unused Discard struct
1 parent c92e90c commit 1f76880

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

include/mp/util.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -114,17 +114,6 @@ struct Priority<0>
114114
{
115115
};
116116

117-
//! Function parameter type for discarded argument. Useful to be able to write a
118-
//! function overload that discards arguments as a normal function instead of a
119-
//! template function.
120-
struct Discard
121-
{
122-
template <typename... Args>
123-
Discard(Args&&...)
124-
{
125-
}
126-
};
127-
128117
//! Return capnp type name with filename prefix removed.
129118
template <typename T>
130119
const char* TypeName()

0 commit comments

Comments
 (0)