Fix compilation on Windows
This commit is contained in:
parent
5bb425737c
commit
e19a5cb7b9
|
@ -94,10 +94,10 @@ namespace detail {
|
|||
}
|
||||
|
||||
template <typename InKey>
|
||||
using get = typename detail::CompileTimeTypeMapImpl<size(), Items...>::template get<InKey>;
|
||||
using get = typename detail::CompileTimeTypeMapImpl<sizeof...(Items), Items...>::template get<InKey>;
|
||||
|
||||
template <size_t Index>
|
||||
using get_by_index = typename detail::CompileTimeTypeMapImpl<size(), Items...>::template get_by_index<Index>;
|
||||
using get_by_index = typename detail::CompileTimeTypeMapImpl<sizeof...(Items), Items...>::template get_by_index<Index>;
|
||||
};
|
||||
|
||||
} // namespace sensor
|
||||
|
|
|
@ -25,6 +25,18 @@
|
|||
# endif // __cpp_noexcept_function_type
|
||||
#endif // defined(__clang__)
|
||||
|
||||
namespace boost {
|
||||
|
||||
static inline void throw_exception(const std::exception &e) {
|
||||
UE_LOG(LogCarla, Fatal, TEXT("Exception thrown on Boost libraries: %s"), UTF8_TO_TCHAR(e.what()));
|
||||
}
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // LIBCARLA_INCLUDED_DISABLE_UE4_MACROS_HEADER
|
||||
|
||||
#define LIBCARLA_INCLUDED_FROM_UE4
|
||||
|
||||
// NOTE(Andrei): disable warning generated by undefined macros
|
||||
// __GNUC__, __GNUC_MINOR__
|
||||
// MSGPACK_ARCH_AMD64
|
||||
|
@ -41,18 +53,6 @@
|
|||
# pragma warning(disable: 4668 4191)
|
||||
#endif
|
||||
|
||||
namespace boost {
|
||||
|
||||
static inline void throw_exception(const std::exception &e) {
|
||||
UE_LOG(LogCarla, Fatal, TEXT("Exception thrown on Boost libraries: %s"), UTF8_TO_TCHAR(e.what()));
|
||||
}
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // LIBCARLA_INCLUDED_DISABLE_UE4_MACROS_HEADER
|
||||
|
||||
#define LIBCARLA_INCLUDED_FROM_UE4
|
||||
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic push
|
||||
# pragma clang diagnostic ignored "-Wmissing-braces"
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "Engine/World.h"
|
||||
|
||||
#include "TaggerDelegate.generated.h"
|
||||
|
||||
/// Used to tag every actor that is spawned into the world.
|
||||
|
|
|
@ -123,7 +123,7 @@ void FPixelReader::WritePixelsToBuffer(
|
|||
#if CARLA_WITH_VULKAN_SUPPORT == 1
|
||||
if (IsVulkanPlatform(GMaxRHIShaderPlatform))
|
||||
{
|
||||
WritePixelsToBuffer_Vulkan(RenderTarget, Buffer, InRHICmdList);
|
||||
WritePixelsToBuffer_Vulkan(RenderTarget, Buffer, Offset, InRHICmdList);
|
||||
return;
|
||||
}
|
||||
#endif // CARLA_WITH_VULKAN_SUPPORT
|
||||
|
|
Loading…
Reference in New Issue