Closed seva-deriv closed 1 year ago
I've got a wierd compilation error (on Clang 14.0.1 Ubuntu 22.04, looks like a bug in compiler):
fakeit.hpp:9142:20: error: no matching constructor for initialization of 'MethodProgress<boost::asio::awaitable<void>, *****>'
return progress;
^~~~~~~~
fakeit.hpp:9114:13: note: candidate constructor not viable: expects an lvalue for 1st argument
MethodProgress(MethodProgress &other) :
^
This change fixed that and it also seems to be more generic and widely used.
I may also propose just to remove ctors that look like defaulted.
Thanks, it should fix #302. And just to be sure, it happens only when compiling in C++23, no ?
Not sure if only in C++23 but indeed it happened when compiled in C++23
Coverage remained the same at 99.925% when pulling 70f1f4ecb0f3444268bcecc650d02703c8f28e7c on seva-deriv:copy_ctor into 49b27fec50c180870ab8b435907f12146dbf3063 on eranpeer:master.