1#include "GitExecResult.h"
2
3GitExecResult::GitExecResult(bool ret, QString v)
4 : success(ret)
5 , output(std::move(v))
6{
7}
8
9GitExecResult::GitExecResult(const QPair<bool, QString> &result)
10 : success(result.first)
11 , output(result.second)
12{
13}
14
15GitExecResult &GitExecResult::operator=(const QPair<bool, QString> &result)
16{
17 success = result.first;
18 output = result.second;
19
20 return *this;
21}
22