mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
Fix more gcc compilation issues
This commit is contained in:
@ -1,11 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstring>
|
||||
#include <stdexcept>
|
||||
|
||||
#include "GlobalAssetPool.h"
|
||||
#include "AssetPool.h"
|
||||
#include "XAssetInfo.h"
|
||||
|
||||
#include <cstring>
|
||||
|
||||
template <typename T>
|
||||
class AssetPoolStatic final : public AssetPool<T>
|
||||
{
|
||||
@ -85,7 +86,7 @@ public:
|
||||
{
|
||||
if(m_free == nullptr)
|
||||
{
|
||||
throw std::exception("Could not add asset to static asset pool: capacity exhausted.");
|
||||
throw std::runtime_error("Could not add asset to static asset pool: capacity exhausted.");
|
||||
}
|
||||
|
||||
AssetPoolEntry* poolSlot = m_free;
|
||||
|
Reference in New Issue
Block a user