mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 15:09:39 +00:00
Fix missing includes
This commit is contained in:
parent
e185d186bf
commit
38b6927b31
3 changed files with 5 additions and 2 deletions
|
@ -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
|
||||||
|
@ -212,4 +213,4 @@ namespace MWGui
|
||||||
else
|
else
|
||||||
updateBulletProfile();
|
updateBulletProfile();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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…
Reference in a new issue