lichao
2021-04-13 65ef4d68321e56906920be75831b5e968f7abd7b
src/failed_msg.h
@@ -23,6 +23,7 @@
#include "timed_queue.h"
#include <string>
//TODO change storage to map<Remote,list<TimedData<Msg>>>, to avoid retry failed remotes messages.
class FailedMsgQ
{
   typedef std::function<bool(void *)> Func;