mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-11 03:33:36 +00:00
proc_dff: use invoke_result_t instead of result_of
This commit is contained in:
parent
8fc9e71b84
commit
390ff5501d
|
@ -411,7 +411,7 @@ private:
|
|||
// from the function as the LSB. This function also returns the value
|
||||
// calculated for the LSB.
|
||||
template <typename F>
|
||||
typename std::result_of<F(size_t)>::type shrink_while_matching_values(F f) {
|
||||
typename std::invoke_result_t<F, size_t> shrink_while_matching_values(F f) {
|
||||
const auto base_val = f(0);
|
||||
|
||||
size_t new_size;
|
||||
|
|
Loading…
Reference in a new issue