mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-28 19:21:04 +00:00
Fix missing includes
This commit is contained in:
parent
e185d186bf
commit
38b6927b31
@ -161,7 +161,8 @@ namespace MWGui
|
|||||||
std::string addition;
|
std::string addition;
|
||||||
const int64_t bufSize = sLogCircularBuffer.size();
|
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)
|
if (sLogStartIndex < sLogEndIndex)
|
||||||
addition = std::string(sLogCircularBuffer.data() + sLogStartIndex, sLogEndIndex - sLogStartIndex);
|
addition = std::string(sLogCircularBuffer.data() + sLogStartIndex, sLogEndIndex - sLogStartIndex);
|
||||||
else
|
else
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
|
#include <chrono>
|
||||||
|
|
||||||
#include <components/compiler/extensions.hpp>
|
#include <components/compiler/extensions.hpp>
|
||||||
#include <components/compiler/opcodes.hpp>
|
#include <components/compiler/opcodes.hpp>
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
#include <thread>
|
||||||
|
|
||||||
#include <SDL_messagebox.h>
|
#include <SDL_messagebox.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user