Correct prepare_memfn_helper test

Fix prepare_memfn_helper test to use intended member function
'prepare' rather than 'data' copied by mistake from previous check.
This commit is contained in:
regular384 2018-03-14 11:00:42 +00:00 committed by Christopher Kohlhoff
parent 08c1955017
commit 68180a19ff

View File

@ -112,7 +112,7 @@ template <typename T>
char prepare_memfn_helper(
buffer_sequence_memfns_check<
void (buffer_sequence_memfns_base::*)(),
&buffer_sequence_memfns_derived<T>::data>*);
&buffer_sequence_memfns_derived<T>::prepare>*);
template <typename>
char (&commit_memfn_helper(...))[2];