From 038fa798e89c90f55efb7dacbf154f42d40058b7 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 22 Feb 2018 22:24:09 -0800 Subject: Fixed interface headers to use relative paths in #include --- Common/interface/LockHelper.h | 2 +- Common/interface/RefCntAutoPtr.h | 7 ++++--- Common/interface/RefCountedObjectImpl.h | 8 ++++---- Common/interface/StringTools.h | 3 ++- Common/interface/ValidatedCast.h | 2 +- 5 files changed, 12 insertions(+), 10 deletions(-) (limited to 'Common/interface') diff --git a/Common/interface/LockHelper.h b/Common/interface/LockHelper.h index 85f69082..bcb644df 100644 --- a/Common/interface/LockHelper.h +++ b/Common/interface/LockHelper.h @@ -28,7 +28,7 @@ #include #include -#include "Atomics.h" +#include "../../../Platforms/interface/Atomics.h" namespace ThreadingTools { diff --git a/Common/interface/RefCntAutoPtr.h b/Common/interface/RefCntAutoPtr.h index 496ee28e..f5d1a437 100644 --- a/Common/interface/RefCntAutoPtr.h +++ b/Common/interface/RefCntAutoPtr.h @@ -23,12 +23,13 @@ #pragma once -#include "DebugUtilities.h" +#include "../../../Primitives/interface/Object.h" +#include "../../../Platforms/Basic/interface/DebugUtilities.h" +#include "../../../Platforms/interface/Atomics.h" #include "LockHelper.h" -#include "Atomics.h" #include "ValidatedCast.h" #include "RefCountedObjectImpl.h" -#include "Object.h" + namespace Diligent { diff --git a/Common/interface/RefCountedObjectImpl.h b/Common/interface/RefCountedObjectImpl.h index 0f4a41c9..617eef59 100644 --- a/Common/interface/RefCountedObjectImpl.h +++ b/Common/interface/RefCountedObjectImpl.h @@ -26,12 +26,12 @@ /// \file /// Implementation of the template base class for reference counting objects -#include "Object.h" -#include "Atomics.h" -#include "DebugUtilities.h" +#include "../../../Primitives/interface/Object.h" +#include "../../../Primitives/interface/MemoryAllocator.h" +#include "../../../Platforms/interface/Atomics.h" +#include "../../../Platforms/Basic/interface/DebugUtilities.h" #include "LockHelper.h" #include "ValidatedCast.h" -#include "MemoryAllocator.h" namespace Diligent { diff --git a/Common/interface/StringTools.h b/Common/interface/StringTools.h index 0a43f1c8..5921411b 100644 --- a/Common/interface/StringTools.h +++ b/Common/interface/StringTools.h @@ -29,7 +29,8 @@ #include #include #include -#include "DebugUtilities.h" + +#include "../../../Platforms/Basic/interface/DebugUtilities.h" namespace Diligent { diff --git a/Common/interface/ValidatedCast.h b/Common/interface/ValidatedCast.h index 786f90a5..8848b920 100644 --- a/Common/interface/ValidatedCast.h +++ b/Common/interface/ValidatedCast.h @@ -23,7 +23,7 @@ #pragma once -#include "DebugUtilities.h" +#include "../../../Platforms/Basic/interface/DebugUtilities.h" template DstType* ValidatedCast( SrcType *Ptr ) -- cgit v1.2.3