mirror-chatterino2/lambdaqrunnable.cpp

12 lines
172 B
C++
Raw Normal View History

2017-01-03 21:19:33 +01:00
#include "lambdaqrunnable.h"
2017-01-04 15:12:31 +01:00
LambdaQRunnable::LambdaQRunnable(std::function<void ()> action)
2017-01-03 21:19:33 +01:00
{
this->action = action;
}
void LambdaQRunnable::run()
{
action();
}