mirror-chatterino2/lambdaqrunnable.cpp
2017-01-04 15:12:31 +01:00

12 lines
172 B
C++

#include "lambdaqrunnable.h"
LambdaQRunnable::LambdaQRunnable(std::function<void ()> action)
{
this->action = action;
}
void LambdaQRunnable::run()
{
action();
}