Fix MSVC unreferenced formal parameter warning. NFCI.

llvm-svn: 370614
This commit is contained in:
Simon Pilgrim 2019-09-01 16:04:38 +00:00
parent 07de5292e5
commit df19adaa71
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ inline void join_items_impl(std::string &Result, Sep Separator, const Arg1 &A1,
join_items_impl(Result, Separator, std::forward<Args>(Items)...);
}
inline size_t join_one_item_size(char C) { return 1; }
inline size_t join_one_item_size(char) { return 1; }
inline size_t join_one_item_size(const char *S) { return S ? ::strlen(S) : 0; }
template <typename T> inline size_t join_one_item_size(const T &Str) {