mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-23 19:20:56 +00:00
Fix missing includes
This commit is contained in:
parent
e185d186bf
commit
38b6927b31
@ -161,7 +161,8 @@ namespace MWGui
|
||||
std::string addition;
|
||||
const int64_t bufSize = sLogCircularBuffer.size();
|
||||
{
|
||||
std::unique_lock<std::mutex> lock = Log::lock();
|
||||
// Keep log object to stay keep the lock.
|
||||
Log log(Debug::Debug);
|
||||
if (sLogStartIndex < sLogEndIndex)
|
||||
addition = std::string(sLogCircularBuffer.data() + sLogStartIndex, sLogEndIndex - sLogStartIndex);
|
||||
else
|
||||
@ -212,4 +213,4 @@ namespace MWGui
|
||||
else
|
||||
updateBulletProfile();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
#include <cstdlib>
|
||||
#include <iomanip>
|
||||
#include <chrono>
|
||||
|
||||
#include <components/compiler/extensions.hpp>
|
||||
#include <components/compiler/opcodes.hpp>
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
#include <sstream>
|
||||
#include <thread>
|
||||
|
||||
#include <SDL_messagebox.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user