Administrative source import: native x86 compilation passed for 423 authored units. Source placement and submission states are migrated separately; this commit does not imply peer acceptance.
Previous head: 35d2a8cb36
Payload SHA256: 592f016d2730c5593bb653aa054c1e5f76a6df72c8f5a09e66f74876e2e33dee
29 lines
770 B
C++
29 lines
770 B
C++
#include "Utility/Async/AsyncDiagnostic.h"
|
|
|
|
#include <utility>
|
|
|
|
// OFFSET: 0x005B9CB0
|
|
// FUNCTION: fn_03438
|
|
AsyncDiagnostic::AsyncDiagnostic(const bool* success, std::string* message, const char* file, const std::uint32_t* line)
|
|
: line(*line), file(file), message(std::move(*message)), success(*success) {
|
|
}
|
|
|
|
// OFFSET: 0x005B9D90
|
|
// FUNCTION: fn_03439
|
|
AsyncDiagnostic& AsyncDiagnostic::MoveFrom(AsyncDiagnostic& other) {
|
|
this->success = other.success;
|
|
if (&this->message != &other.message) {
|
|
this->message = std::move(other.message);
|
|
}
|
|
|
|
if (&this->file != &other.file) {
|
|
this->file = std::move(other.file);
|
|
}
|
|
|
|
this->line = other.line;
|
|
return *this;
|
|
}
|
|
|
|
// OFFSET: 0x005BA220
|
|
// FUNCTION: fn_03441
|
|
AsyncDiagnostic::~AsyncDiagnostic() = default;
|