Fix std::move error

This commit is contained in:
Kilian Hofmann 2022-10-04 02:15:39 +02:00
parent 396aa8d807
commit 0a150391b8

View File

@ -17,7 +17,8 @@ namespace gaconnector
// Database
#ifdef XP
char hash[2 * MD5LEN + 1] = "";
if (utilities::generateMD5(XPLANE_CUSTOM_SCENERY, hash, toLog) == 0) {
if (utilities::generateMD5(XPLANE_CUSTOM_SCENERY, hash, this->toLog) ==
0) {
this->database =
std::make_unique<file::simdata::SimDatabase>(simVersion,
hash,