From eb73089cfc56433e05b26819fcebcbe4f465d9ae Mon Sep 17 00:00:00 2001 From: muit Date: Sat, 22 Jan 2022 15:18:58 +0100 Subject: [PATCH] Updated copyrights for 2022 --- Benchmarks/Arenas.bench.h | 2 +- Benchmarks/Lookups.bench.h | 2 +- Benchmarks/main.cpp | 2 +- Include/Containers/Array.h | 2 +- Include/Containers/BitArray.h | 2 +- Include/Containers/Map.h | 2 +- Include/Containers/Set.h | 2 +- Include/Containers/Span.h | 2 +- Include/Context.h | 2 +- Include/CoreTypes.h | 4 +-- Include/Events/Broadcast.h | 2 +- Include/Events/EventHandle.h | 2 +- Include/Events/Function.h | 2 +- Include/Files/FileDialog.h | 2 +- Include/Files/FileWatcher.h | 2 +- Include/Files/Files.h | 2 +- Include/Files/FormatFileIterator.h | 2 +- Include/Files/Paths.h | 2 +- Include/Files/STDFileSystem.h | 2 +- Include/Log.h | 2 +- Include/Math/Bezier.h | 2 +- Include/Math/Color.h | 2 +- Include/Math/Heap.h | 2 +- Include/Math/Math.h | 2 +- Include/Math/Quaternion.h | 2 +- Include/Math/Rotator.h | 2 +- Include/Math/Search.h | 2 +- Include/Math/Sorting.h | 2 +- Include/Math/Vector.h | 2 +- Include/Memory/Alloc.h | 2 +- Include/Memory/Allocators/DefaultAllocator.h | 2 +- Include/Memory/Allocators/IAllocator.h | 2 +- Include/Memory/Arenas/BestFitArena.h | 2 +- Include/Memory/Arenas/BigBestFitArena.h | 2 +- Include/Memory/Arenas/DummyArena.h | 2 +- Include/Memory/Arenas/GlobalArena.h | 2 +- Include/Memory/Arenas/HeapArena.h | 2 +- Include/Memory/Arenas/IArena.h | 2 +- Include/Memory/Arenas/LinearArena.h | 2 +- Include/Memory/Blocks/Block.h | 2 +- Include/Memory/Blocks/DummyBlock.h | 2 +- Include/Memory/Blocks/HeapBlock.h | 2 +- Include/Memory/Blocks/InlineBlock.h | 2 +- Include/Memory/Override.h | 2 +- Include/Memory/OwnPtr.h | 2 +- Include/Memory/PtrBuilder.h | 2 +- Include/Memory/STLAllocator.h | 2 +- Include/Memory/UniquePtr.h | 2 +- Include/Misc/Char.h | 2 +- Include/Misc/Checks.h | 2 +- Include/Misc/Chrono.h | 1 + Include/Misc/Crc.h | 2 +- Include/Misc/DateTime.h | 2 +- Include/Misc/EnumFlags.h | 2 +- Include/Misc/Guid.h | 2 +- Include/Misc/Hash.h | 2 +- Include/Misc/Time.h | 2 +- Include/Misc/Timespan.h | 2 +- Include/Misc/Utility.h | 2 +- Include/PCH.h | 2 +- Include/Platform/Generic/GenericPlatform.h | 2 +- .../Platform/Generic/GenericPlatformMisc.h | 2 +- .../Platform/Generic/GenericPlatformProcess.h | 2 +- Include/Platform/Linux/LinuxPlatform.h | 2 +- Include/Platform/Linux/LinuxPlatformMisc.h | 2 +- Include/Platform/Linux/LinuxPlatformProcess.h | 2 +- Include/Platform/Mac/MacPlatform.h | 2 +- Include/Platform/Mac/MacPlatformMisc.h | 2 +- Include/Platform/Mac/MacPlatformProcess.h | 2 +- Include/Platform/Macros.h | 2 +- Include/Platform/Platform.h | 2 +- Include/Platform/PlatformMisc.h | 2 +- Include/Platform/PlatformProcess.h | 2 +- Include/Platform/PlatformTime.h | 2 +- Include/Platform/Windows/WindowsPlatform.h | 2 +- .../Platform/Windows/WindowsPlatformMisc.h | 2 +- .../Platform/Windows/WindowsPlatformProcess.h | 2 +- Include/Profiler.h | 4 +-- Include/Reflection/GetType.h | 2 +- Include/Reflection/HasType.h | 2 +- Include/Reflection/PredefinedTypes.h | 2 +- Include/Reflection/Reflection.h | 2 +- Include/Reflection/ReflectionFlags.h | 2 +- Include/Reflection/ReflectionTraits.h | 2 +- Include/Reflection/Registry/DataTypeBuilder.h | 2 +- Include/Reflection/Registry/EnumTypeBuilder.h | 2 +- .../Reflection/Registry/NativeTypeBuilder.h | 2 +- Include/Reflection/Registry/Registry.h | 2 +- .../Reflection/Registry/StaticInitializers.h | 2 +- Include/Reflection/Registry/TypeBuilder.h | 2 +- Include/Reflection/Registry/TypeInstance.h | 2 +- Include/Reflection/Runtime/ClassHandle.h | 2 +- Include/Reflection/Runtime/HandleHelper.h | 2 +- Include/Reflection/Runtime/PropertyHandle.h | 2 +- Include/Reflection/Runtime/TPropertyHandle.h | 2 +- Include/Reflection/Static/ClassType.h | 2 +- Include/Reflection/Static/DataType.h | 2 +- Include/Reflection/Static/EnumType.h | 2 +- Include/Reflection/Static/NativeType.h | 2 +- Include/Reflection/Static/Property.h | 2 +- Include/Reflection/Static/StructType.h | 2 +- Include/Reflection/Static/Type.h | 2 +- Include/Reflection/TypeFlags.h | 2 +- Include/Reflection/TypeId.h | 2 +- Include/Reflection/TypeName.h | 2 +- Include/Serialization/Contexts.h | 2 +- .../Serialization/Contexts/CommonContext.h | 2 +- Include/Serialization/Contexts/ReadContext.h | 2 +- Include/Serialization/Contexts/WriteContext.h | 2 +- Include/Serialization/ContextsFwd.h | 2 +- Include/Serialization/Formats/IFormat.h | 2 +- Include/Serialization/Formats/JsonFormat.h | 2 +- Include/Serialization/Formats/TFormat.h | 2 +- Include/Serialization/SerializationTypes.h | 2 +- Include/Strings/FixedString.h | 2 +- Include/Strings/Name.h | 2 +- Include/Strings/Regex.h | 2 +- Include/Strings/String.h | 2 +- Include/Strings/StringView.h | 2 +- Include/Tasks.h | 2 +- Include/Templates/Greater.h | 2 +- Include/Templates/Less.h | 2 +- Include/Templates/Optional.h | 2 +- Include/Templates/Tuples.h | 2 +- Include/Templates/TypeList.h | 2 +- Include/TypeTraits.h | 2 +- Include/Types/BaseClass.h | 2 +- Include/Types/BaseStruct.h | 2 +- Include/Types/Class.h | 2 +- Include/Types/ClassPtrBuilder.h | 2 +- Include/Types/Struct.h | 2 +- Src/Context.cpp | 4 +-- Src/Events/EventHandle.cpp | 2 +- Src/Files/FileDialog.cpp | 2 +- Src/Files/FileWatcher.cpp | 2 +- Src/Files/Files.cpp | 2 +- Src/Files/Paths.cpp | 2 +- Src/Files/STDFileSystem.cpp | 2 +- Src/Log.cpp | 6 ++-- Src/Math/Bezier.cpp | 2 +- Src/Math/Color.cpp | 14 -------- Src/Math/Math.cpp | 2 +- Src/Math/Quaternion.cpp | 2 +- Src/Math/Vector.cpp | 2 +- Src/Memory/Alloc.cpp | 2 +- Src/Memory/Arenas/BestFitArena.cpp | 2 +- Src/Memory/Arenas/BigBestFitArena.cpp | 2 +- Src/Memory/Arenas/GlobalArena.cpp | 2 +- Src/Memory/Arenas/LinearArena.cpp | 2 +- Src/Memory/NewDelete.cpp | 2 +- Src/Memory/OwnPtr.cpp | 2 +- Src/Memory/STLAllocator.cpp | 2 +- Src/Misc/Checks.cpp | 2 +- Src/Misc/Crc.cpp | 2 +- Src/Misc/DateTime.cpp | 2 +- Src/Misc/Guid.cpp | 2 +- Src/Misc/Time.cpp | 2 +- Src/Misc/Timespan.cpp | 2 +- Src/Platform/Generic/GenericPlatformMisc.cpp | 2 +- Src/Platform/Linux/LinuxPlatformProcess.cpp | 2 +- Src/Platform/Mac/MacPlatformProcess.cpp | 2 +- Src/Platform/PlatformTime.cpp | 2 +- Src/Platform/Windows/WindowsPlatformMisc.cpp | 2 +- .../Windows/WindowsPlatformProcess.cpp | 2 +- Src/Reflection/Registry/Registry.cpp | 2 +- Src/Reflection/Registry/TypeBuilder.cpp | 2 +- Src/Reflection/Static/ClassType.cpp | 2 +- Src/Reflection/Static/DataType.cpp | 2 +- Src/Reflection/Static/Property.cpp | 2 +- Src/Reflection/Static/Type.cpp | 2 +- Src/Serialization/Contexts/CommonContext.cpp | 2 +- Src/Serialization/Contexts/ReadContext.cpp | 2 +- Src/Serialization/Contexts/WriteContext.cpp | 2 +- Src/Serialization/Formats/JsonFormat.cpp | 2 +- Src/Strings/Name.cpp | 2 +- Src/Strings/String.cpp | 2 +- Src/Strings/StringView.cpp | 2 +- Src/Tasks.cpp | 36 +++++++++---------- Src/Types/BaseClass.cpp | 2 +- Tests/Containers/Array.spec.cpp | 2 +- Tests/Containers/Set.spec.cpp | 2 +- Tests/Events/Function.spec.cpp | 2 +- Tests/Files/Paths.spec.cpp | 2 +- Tests/Math/Color.spec.cpp | 2 +- Tests/Math/Math.spec.cpp | 2 +- Tests/Memory/BestFitArena.spec.cpp | 2 +- Tests/Memory/BigBestFitArena.spec.cpp | 2 +- Tests/Memory/LinearArena.spec.cpp | 2 +- Tests/Object.spec.cpp | 2 +- Tests/OwnPtr.spec.cpp | 2 +- Tests/Reflection/TypeId.spec.cpp | 2 +- Tests/Reflection/TypeName.spec.cpp | 2 +- Tests/Serialization/Json.spec.cpp | 2 +- Tests/Serialization/Serialization.spec.cpp | 2 +- Tests/main.cpp | 3 +- 195 files changed, 217 insertions(+), 229 deletions(-) delete mode 100644 Src/Math/Color.cpp diff --git a/Benchmarks/Arenas.bench.h b/Benchmarks/Arenas.bench.h index 604ed452..e865335f 100644 --- a/Benchmarks/Arenas.bench.h +++ b/Benchmarks/Arenas.bench.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "nanobench.h" diff --git a/Benchmarks/Lookups.bench.h b/Benchmarks/Lookups.bench.h index c975abe1..1b6df305 100644 --- a/Benchmarks/Lookups.bench.h +++ b/Benchmarks/Lookups.bench.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "nanobench.h" diff --git a/Benchmarks/main.cpp b/Benchmarks/main.cpp index 24341d77..fc4521ad 100644 --- a/Benchmarks/main.cpp +++ b/Benchmarks/main.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #define ANKERL_NANOBENCH_IMPLEMENT 1 #include "nanobench.h" diff --git a/Include/Containers/Array.h b/Include/Containers/Array.h index 4bd6e797..94453143 100644 --- a/Include/Containers/Array.h +++ b/Include/Containers/Array.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Containers/BitArray.h b/Include/Containers/BitArray.h index 9ac201e2..90aa4d05 100644 --- a/Include/Containers/BitArray.h +++ b/Include/Containers/BitArray.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Containers/Array.h" diff --git a/Include/Containers/Map.h b/Include/Containers/Map.h index f7a2f7ec..ec241379 100644 --- a/Include/Containers/Map.h +++ b/Include/Containers/Map.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Containers/Set.h b/Include/Containers/Set.h index e64073c2..e3a1dedf 100644 --- a/Include/Containers/Set.h +++ b/Include/Containers/Set.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Containers/Span.h b/Include/Containers/Span.h index 90612d11..21c44633 100644 --- a/Include/Containers/Span.h +++ b/Include/Containers/Span.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Context.h b/Include/Context.h index e5e5bde5..d520fd0b 100644 --- a/Include/Context.h +++ b/Include/Context.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Events/Broadcast.h" diff --git a/Include/CoreTypes.h b/Include/CoreTypes.h index 22eaf5f1..29619667 100644 --- a/Include/CoreTypes.h +++ b/Include/CoreTypes.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Platform/Platform.h" @@ -20,4 +20,4 @@ namespace Rift REFLECT_NATIVE_TYPE(String); REFLECT_NATIVE_TYPE(Name); -} // namespace Rift +} // namespace Rift diff --git a/Include/Events/Broadcast.h b/Include/Events/Broadcast.h index bae3d747..c5fca8c8 100644 --- a/Include/Events/Broadcast.h +++ b/Include/Events/Broadcast.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "CoreTypes.h" diff --git a/Include/Events/EventHandle.h b/Include/Events/EventHandle.h index f4697315..b400c2fd 100644 --- a/Include/Events/EventHandle.h +++ b/Include/Events/EventHandle.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "CoreTypes.h" diff --git a/Include/Events/Function.h b/Include/Events/Function.h index 696aee71..a72fdcf5 100644 --- a/Include/Events/Function.h +++ b/Include/Events/Function.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Misc/Checks.h" diff --git a/Include/Files/FileDialog.h b/Include/Files/FileDialog.h index 075c51f7..6f3db6d1 100644 --- a/Include/Files/FileDialog.h +++ b/Include/Files/FileDialog.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Files/FileWatcher.h b/Include/Files/FileWatcher.h index 218ec50a..197bad64 100644 --- a/Include/Files/FileWatcher.h +++ b/Include/Files/FileWatcher.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Files/Files.h b/Include/Files/Files.h index 96a13240..dbf43357 100644 --- a/Include/Files/Files.h +++ b/Include/Files/Files.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Files/FormatFileIterator.h b/Include/Files/FormatFileIterator.h index fe831e9a..c35d97c6 100644 --- a/Include/Files/FormatFileIterator.h +++ b/Include/Files/FormatFileIterator.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Files/Files.h" diff --git a/Include/Files/Paths.h b/Include/Files/Paths.h index 16e8d78c..f8b8884e 100644 --- a/Include/Files/Paths.h +++ b/Include/Files/Paths.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Files/STDFileSystem.h b/Include/Files/STDFileSystem.h index 2a505b16..76fb2f1b 100644 --- a/Include/Files/STDFileSystem.h +++ b/Include/Files/STDFileSystem.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Log.h b/Include/Log.h index 6752b87e..fb1c8ae3 100644 --- a/Include/Log.h +++ b/Include/Log.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Math/Bezier.h b/Include/Math/Bezier.h index c96b9ee8..58dab4d2 100644 --- a/Include/Math/Bezier.h +++ b/Include/Math/Bezier.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Math/Color.h b/Include/Math/Color.h index 6517bf53..458057c0 100644 --- a/Include/Math/Color.h +++ b/Include/Math/Color.h @@ -1,4 +1,4 @@ -// Copyright 1998-2018 Epic Games, Inother. All Rights Reserved. +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Math/Heap.h b/Include/Math/Heap.h index 6ade8aac..e5047414 100644 --- a/Include/Math/Heap.h +++ b/Include/Math/Heap.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Math/Math.h b/Include/Math/Math.h index 9b26aba7..8ec2f874 100644 --- a/Include/Math/Math.h +++ b/Include/Math/Math.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Math/Quaternion.h b/Include/Math/Quaternion.h index d8d53ce3..9de6be4e 100644 --- a/Include/Math/Quaternion.h +++ b/Include/Math/Quaternion.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Math/Rotator.h b/Include/Math/Rotator.h index 5a7b4331..825a61c5 100644 --- a/Include/Math/Rotator.h +++ b/Include/Math/Rotator.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Math/Search.h b/Include/Math/Search.h index 9030c3b7..35a68401 100644 --- a/Include/Math/Search.h +++ b/Include/Math/Search.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Math/Sorting.h b/Include/Math/Sorting.h index 472bce60..abbb2967 100644 --- a/Include/Math/Sorting.h +++ b/Include/Math/Sorting.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Math/Vector.h b/Include/Math/Vector.h index 16714922..399d83d7 100644 --- a/Include/Math/Vector.h +++ b/Include/Math/Vector.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Memory/Alloc.h b/Include/Memory/Alloc.h index 0de1f430..67b749c3 100644 --- a/Include/Memory/Alloc.h +++ b/Include/Memory/Alloc.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Memory/Allocators/DefaultAllocator.h b/Include/Memory/Allocators/DefaultAllocator.h index daee5c52..ea96ef7f 100644 --- a/Include/Memory/Allocators/DefaultAllocator.h +++ b/Include/Memory/Allocators/DefaultAllocator.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Memory/Allocators/IAllocator.h b/Include/Memory/Allocators/IAllocator.h index 84e27af1..7dd2f9a2 100644 --- a/Include/Memory/Allocators/IAllocator.h +++ b/Include/Memory/Allocators/IAllocator.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Memory/Arenas/BestFitArena.h b/Include/Memory/Arenas/BestFitArena.h index 5544a687..ca26a529 100644 --- a/Include/Memory/Arenas/BestFitArena.h +++ b/Include/Memory/Arenas/BestFitArena.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Memory/Arenas/BigBestFitArena.h b/Include/Memory/Arenas/BigBestFitArena.h index 18f5ac95..df3998ea 100644 --- a/Include/Memory/Arenas/BigBestFitArena.h +++ b/Include/Memory/Arenas/BigBestFitArena.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Memory/Arenas/DummyArena.h b/Include/Memory/Arenas/DummyArena.h index 7b309c50..117444d1 100644 --- a/Include/Memory/Arenas/DummyArena.h +++ b/Include/Memory/Arenas/DummyArena.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Memory/Arenas/GlobalArena.h b/Include/Memory/Arenas/GlobalArena.h index 706d3e2c..ed1f88ed 100644 --- a/Include/Memory/Arenas/GlobalArena.h +++ b/Include/Memory/Arenas/GlobalArena.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Memory/Arenas/BigBestFitArena.h" diff --git a/Include/Memory/Arenas/HeapArena.h b/Include/Memory/Arenas/HeapArena.h index d401aa18..d9ae8a62 100644 --- a/Include/Memory/Arenas/HeapArena.h +++ b/Include/Memory/Arenas/HeapArena.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Memory/Arenas/IArena.h b/Include/Memory/Arenas/IArena.h index e17e9747..83e8faf8 100644 --- a/Include/Memory/Arenas/IArena.h +++ b/Include/Memory/Arenas/IArena.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Memory/Arenas/LinearArena.h b/Include/Memory/Arenas/LinearArena.h index 791d2f1d..5d941c3b 100644 --- a/Include/Memory/Arenas/LinearArena.h +++ b/Include/Memory/Arenas/LinearArena.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Memory/Blocks/Block.h b/Include/Memory/Blocks/Block.h index ee77c3c5..36ec623a 100644 --- a/Include/Memory/Blocks/Block.h +++ b/Include/Memory/Blocks/Block.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Memory/Blocks/DummyBlock.h b/Include/Memory/Blocks/DummyBlock.h index 3488127c..19fba8da 100644 --- a/Include/Memory/Blocks/DummyBlock.h +++ b/Include/Memory/Blocks/DummyBlock.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Memory/Blocks/HeapBlock.h b/Include/Memory/Blocks/HeapBlock.h index d98c12bf..b17ed0df 100644 --- a/Include/Memory/Blocks/HeapBlock.h +++ b/Include/Memory/Blocks/HeapBlock.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Memory/Blocks/InlineBlock.h b/Include/Memory/Blocks/InlineBlock.h index cc053878..3c6db860 100644 --- a/Include/Memory/Blocks/InlineBlock.h +++ b/Include/Memory/Blocks/InlineBlock.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Memory/Override.h b/Include/Memory/Override.h index 479818cf..391e2a13 100644 --- a/Include/Memory/Override.h +++ b/Include/Memory/Override.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Memory/OwnPtr.h b/Include/Memory/OwnPtr.h index c6941058..ff1f0d8f 100644 --- a/Include/Memory/OwnPtr.h +++ b/Include/Memory/OwnPtr.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Memory/PtrBuilder.h b/Include/Memory/PtrBuilder.h index 079b3b54..a72d7082 100644 --- a/Include/Memory/PtrBuilder.h +++ b/Include/Memory/PtrBuilder.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Memory/STLAllocator.h b/Include/Memory/STLAllocator.h index ed328f5d..edcb5698 100644 --- a/Include/Memory/STLAllocator.h +++ b/Include/Memory/STLAllocator.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Memory/UniquePtr.h b/Include/Memory/UniquePtr.h index 48897109..4376fe4a 100644 --- a/Include/Memory/UniquePtr.h +++ b/Include/Memory/UniquePtr.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Misc/Char.h b/Include/Misc/Char.h index 6dae7118..36253cc2 100644 --- a/Include/Misc/Char.h +++ b/Include/Misc/Char.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Misc/Checks.h b/Include/Misc/Checks.h index 1a2e95b8..c5ce5a01 100644 --- a/Include/Misc/Checks.h +++ b/Include/Misc/Checks.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Misc/Chrono.h b/Include/Misc/Chrono.h index 5a381d2a..3a8d89ec 100644 --- a/Include/Misc/Chrono.h +++ b/Include/Misc/Chrono.h @@ -1,3 +1,4 @@ +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Platform/Platform.h" diff --git a/Include/Misc/Crc.h b/Include/Misc/Crc.h index 1e7cac0b..8bfce185 100644 --- a/Include/Misc/Crc.h +++ b/Include/Misc/Crc.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved // Based on Unreal Engine 4 Crc #pragma once diff --git a/Include/Misc/DateTime.h b/Include/Misc/DateTime.h index 8fd6b963..43f23429 100644 --- a/Include/Misc/DateTime.h +++ b/Include/Misc/DateTime.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Misc/EnumFlags.h b/Include/Misc/EnumFlags.h index 3c14bc53..6312b54c 100644 --- a/Include/Misc/EnumFlags.h +++ b/Include/Misc/EnumFlags.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include diff --git a/Include/Misc/Guid.h b/Include/Misc/Guid.h index 1d1d02a0..81fa3809 100644 --- a/Include/Misc/Guid.h +++ b/Include/Misc/Guid.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Misc/Hash.h b/Include/Misc/Hash.h index 9b56702b..5b31c60b 100644 --- a/Include/Misc/Hash.h +++ b/Include/Misc/Hash.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Misc/Time.h b/Include/Misc/Time.h index 26d41920..c903981e 100644 --- a/Include/Misc/Time.h +++ b/Include/Misc/Time.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Misc/Timespan.h b/Include/Misc/Timespan.h index 231ccb88..c9736a49 100644 --- a/Include/Misc/Timespan.h +++ b/Include/Misc/Timespan.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Misc/Utility.h b/Include/Misc/Utility.h index 9bef9a57..0d0ac07b 100644 --- a/Include/Misc/Utility.h +++ b/Include/Misc/Utility.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/PCH.h b/Include/PCH.h index 75d06622..f43518ad 100644 --- a/Include/PCH.h +++ b/Include/PCH.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once // Includes BEFORE Override.h to avoid conflicts with std::malloc and std::free diff --git a/Include/Platform/Generic/GenericPlatform.h b/Include/Platform/Generic/GenericPlatform.h index 57491e0f..a10449bd 100644 --- a/Include/Platform/Generic/GenericPlatform.h +++ b/Include/Platform/Generic/GenericPlatform.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Export.h" diff --git a/Include/Platform/Generic/GenericPlatformMisc.h b/Include/Platform/Generic/GenericPlatformMisc.h index 3eef471f..1cf0b8c8 100644 --- a/Include/Platform/Generic/GenericPlatformMisc.h +++ b/Include/Platform/Generic/GenericPlatformMisc.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Platform/Generic/GenericPlatformProcess.h b/Include/Platform/Generic/GenericPlatformProcess.h index 2ed9bd70..572b0703 100644 --- a/Include/Platform/Generic/GenericPlatformProcess.h +++ b/Include/Platform/Generic/GenericPlatformProcess.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Export.h" diff --git a/Include/Platform/Linux/LinuxPlatform.h b/Include/Platform/Linux/LinuxPlatform.h index a9b3ab6d..91f9e0cc 100644 --- a/Include/Platform/Linux/LinuxPlatform.h +++ b/Include/Platform/Linux/LinuxPlatform.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Platform/Generic/GenericPlatform.h" diff --git a/Include/Platform/Linux/LinuxPlatformMisc.h b/Include/Platform/Linux/LinuxPlatformMisc.h index 198c05a6..7e40cf14 100644 --- a/Include/Platform/Linux/LinuxPlatformMisc.h +++ b/Include/Platform/Linux/LinuxPlatformMisc.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Platform/Generic/GenericPlatformMisc.h" diff --git a/Include/Platform/Linux/LinuxPlatformProcess.h b/Include/Platform/Linux/LinuxPlatformProcess.h index d3b670d7..ad6eeac3 100644 --- a/Include/Platform/Linux/LinuxPlatformProcess.h +++ b/Include/Platform/Linux/LinuxPlatformProcess.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Export.h" diff --git a/Include/Platform/Mac/MacPlatform.h b/Include/Platform/Mac/MacPlatform.h index 83dfc3c3..66277979 100644 --- a/Include/Platform/Mac/MacPlatform.h +++ b/Include/Platform/Mac/MacPlatform.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Platform/Generic/GenericPlatform.h" diff --git a/Include/Platform/Mac/MacPlatformMisc.h b/Include/Platform/Mac/MacPlatformMisc.h index 05986aaa..bffe0cf3 100644 --- a/Include/Platform/Mac/MacPlatformMisc.h +++ b/Include/Platform/Mac/MacPlatformMisc.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Platform/Generic/GenericPlatformMisc.h" diff --git a/Include/Platform/Mac/MacPlatformProcess.h b/Include/Platform/Mac/MacPlatformProcess.h index 8ebb446e..74b92427 100644 --- a/Include/Platform/Mac/MacPlatformProcess.h +++ b/Include/Platform/Mac/MacPlatformProcess.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Export.h" diff --git a/Include/Platform/Macros.h b/Include/Platform/Macros.h index d5ef58eb..e264edf4 100644 --- a/Include/Platform/Macros.h +++ b/Include/Platform/Macros.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Platform/Platform.h b/Include/Platform/Platform.h index 1900de24..7a27f798 100644 --- a/Include/Platform/Platform.h +++ b/Include/Platform/Platform.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Platform/PlatformMisc.h b/Include/Platform/PlatformMisc.h index 5d5012a9..169a9f2e 100644 --- a/Include/Platform/PlatformMisc.h +++ b/Include/Platform/PlatformMisc.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Platform/PlatformProcess.h b/Include/Platform/PlatformProcess.h index f27d0369..6fdf0f50 100644 --- a/Include/Platform/PlatformProcess.h +++ b/Include/Platform/PlatformProcess.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Platform/PlatformTime.h b/Include/Platform/PlatformTime.h index 90d446e4..aca72ca3 100644 --- a/Include/Platform/PlatformTime.h +++ b/Include/Platform/PlatformTime.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Platform/Windows/WindowsPlatform.h b/Include/Platform/Windows/WindowsPlatform.h index da9bb7e4..f536603a 100644 --- a/Include/Platform/Windows/WindowsPlatform.h +++ b/Include/Platform/Windows/WindowsPlatform.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Platform/Generic/GenericPlatform.h" diff --git a/Include/Platform/Windows/WindowsPlatformMisc.h b/Include/Platform/Windows/WindowsPlatformMisc.h index 225c45a7..0d374f0a 100644 --- a/Include/Platform/Windows/WindowsPlatformMisc.h +++ b/Include/Platform/Windows/WindowsPlatformMisc.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Platform/Generic/GenericPlatformMisc.h" diff --git a/Include/Platform/Windows/WindowsPlatformProcess.h b/Include/Platform/Windows/WindowsPlatformProcess.h index b19116ca..5cfc1f8f 100644 --- a/Include/Platform/Windows/WindowsPlatformProcess.h +++ b/Include/Platform/Windows/WindowsPlatformProcess.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Export.h" diff --git a/Include/Profiler.h b/Include/Profiler.h index d52113d2..b5675fc9 100644 --- a/Include/Profiler.h +++ b/Include/Profiler.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once @@ -47,7 +47,7 @@ # define TracySharedLockableN(type, varname, desc) type varname; # define LockableBase(type) type # define SharedLockableBase(type) type -# define LockMark(x) (void) x; +# define LockMark(x) (void)x; # define LockableName(x, y, z) ; # define TracyPlot(x, y) diff --git a/Include/Reflection/GetType.h b/Include/Reflection/GetType.h index 69806f4d..3008182a 100644 --- a/Include/Reflection/GetType.h +++ b/Include/Reflection/GetType.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Reflection/HasType.h b/Include/Reflection/HasType.h index 83afc90d..0cd28910 100644 --- a/Include/Reflection/HasType.h +++ b/Include/Reflection/HasType.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Reflection/PredefinedTypes.h b/Include/Reflection/PredefinedTypes.h index a882cfba..a53c7b63 100644 --- a/Include/Reflection/PredefinedTypes.h +++ b/Include/Reflection/PredefinedTypes.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Reflection/ReflectionTraits.h" diff --git a/Include/Reflection/Reflection.h b/Include/Reflection/Reflection.h index 0d926bc1..2acd4b12 100644 --- a/Include/Reflection/Reflection.h +++ b/Include/Reflection/Reflection.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Reflection/ReflectionFlags.h b/Include/Reflection/ReflectionFlags.h index 40e073e7..b331c744 100644 --- a/Include/Reflection/ReflectionFlags.h +++ b/Include/Reflection/ReflectionFlags.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Platform/Platform.h" diff --git a/Include/Reflection/ReflectionTraits.h b/Include/Reflection/ReflectionTraits.h index 59b4fc6d..a7e4da35 100644 --- a/Include/Reflection/ReflectionTraits.h +++ b/Include/Reflection/ReflectionTraits.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Containers/Array.h" diff --git a/Include/Reflection/Registry/DataTypeBuilder.h b/Include/Reflection/Registry/DataTypeBuilder.h index 14db372c..eed3d2d6 100644 --- a/Include/Reflection/Registry/DataTypeBuilder.h +++ b/Include/Reflection/Registry/DataTypeBuilder.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Reflection/Registry/EnumTypeBuilder.h b/Include/Reflection/Registry/EnumTypeBuilder.h index 10f1bc76..96d2f357 100644 --- a/Include/Reflection/Registry/EnumTypeBuilder.h +++ b/Include/Reflection/Registry/EnumTypeBuilder.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Reflection/Registry/NativeTypeBuilder.h b/Include/Reflection/Registry/NativeTypeBuilder.h index 66c49c8f..dd9d42f9 100644 --- a/Include/Reflection/Registry/NativeTypeBuilder.h +++ b/Include/Reflection/Registry/NativeTypeBuilder.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Reflection/Registry/Registry.h b/Include/Reflection/Registry/Registry.h index f3d77d8e..b6fbc84d 100644 --- a/Include/Reflection/Registry/Registry.h +++ b/Include/Reflection/Registry/Registry.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Reflection/Registry/StaticInitializers.h b/Include/Reflection/Registry/StaticInitializers.h index 2baf04d2..cd1387dc 100644 --- a/Include/Reflection/Registry/StaticInitializers.h +++ b/Include/Reflection/Registry/StaticInitializers.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Reflection/Registry/TypeBuilder.h b/Include/Reflection/Registry/TypeBuilder.h index 29752fb1..46a0054d 100644 --- a/Include/Reflection/Registry/TypeBuilder.h +++ b/Include/Reflection/Registry/TypeBuilder.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Reflection/Registry/TypeInstance.h b/Include/Reflection/Registry/TypeInstance.h index 90a5c969..05ccbe8a 100644 --- a/Include/Reflection/Registry/TypeInstance.h +++ b/Include/Reflection/Registry/TypeInstance.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Reflection/Runtime/ClassHandle.h b/Include/Reflection/Runtime/ClassHandle.h index a4c5b7de..6d982684 100644 --- a/Include/Reflection/Runtime/ClassHandle.h +++ b/Include/Reflection/Runtime/ClassHandle.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "CoreTypes.h" diff --git a/Include/Reflection/Runtime/HandleHelper.h b/Include/Reflection/Runtime/HandleHelper.h index f18f6d80..072a3a4f 100644 --- a/Include/Reflection/Runtime/HandleHelper.h +++ b/Include/Reflection/Runtime/HandleHelper.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "CoreTypes.h" diff --git a/Include/Reflection/Runtime/PropertyHandle.h b/Include/Reflection/Runtime/PropertyHandle.h index 8b402732..974477b8 100644 --- a/Include/Reflection/Runtime/PropertyHandle.h +++ b/Include/Reflection/Runtime/PropertyHandle.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "CoreTypes.h" diff --git a/Include/Reflection/Runtime/TPropertyHandle.h b/Include/Reflection/Runtime/TPropertyHandle.h index 2fb83a96..337c9d5e 100644 --- a/Include/Reflection/Runtime/TPropertyHandle.h +++ b/Include/Reflection/Runtime/TPropertyHandle.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Reflection/Runtime/PropertyHandle.h" diff --git a/Include/Reflection/Static/ClassType.h b/Include/Reflection/Static/ClassType.h index 1ed34e5e..b2ba74f6 100644 --- a/Include/Reflection/Static/ClassType.h +++ b/Include/Reflection/Static/ClassType.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Reflection/Static/DataType.h b/Include/Reflection/Static/DataType.h index 89afbd27..3c66db3b 100644 --- a/Include/Reflection/Static/DataType.h +++ b/Include/Reflection/Static/DataType.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Reflection/Static/EnumType.h b/Include/Reflection/Static/EnumType.h index 35982692..595b00d2 100644 --- a/Include/Reflection/Static/EnumType.h +++ b/Include/Reflection/Static/EnumType.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Reflection/Static/NativeType.h b/Include/Reflection/Static/NativeType.h index 505606f8..a0c6a6e9 100644 --- a/Include/Reflection/Static/NativeType.h +++ b/Include/Reflection/Static/NativeType.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Reflection/Static/Property.h b/Include/Reflection/Static/Property.h index 7634719b..c175c0f5 100644 --- a/Include/Reflection/Static/Property.h +++ b/Include/Reflection/Static/Property.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Memory/OwnPtr.h" diff --git a/Include/Reflection/Static/StructType.h b/Include/Reflection/Static/StructType.h index db0b1105..00c06340 100644 --- a/Include/Reflection/Static/StructType.h +++ b/Include/Reflection/Static/StructType.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Reflection/Static/Type.h b/Include/Reflection/Static/Type.h index 64ed1f3e..f85938e7 100644 --- a/Include/Reflection/Static/Type.h +++ b/Include/Reflection/Static/Type.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Reflection/TypeFlags.h b/Include/Reflection/TypeFlags.h index dfc77965..a52be3c5 100644 --- a/Include/Reflection/TypeFlags.h +++ b/Include/Reflection/TypeFlags.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "TypeTraits.h" diff --git a/Include/Reflection/TypeId.h b/Include/Reflection/TypeId.h index b2b4facf..335dd280 100644 --- a/Include/Reflection/TypeId.h +++ b/Include/Reflection/TypeId.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Reflection/TypeName.h b/Include/Reflection/TypeName.h index 9f0a61e3..23be718e 100644 --- a/Include/Reflection/TypeName.h +++ b/Include/Reflection/TypeName.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Serialization/Contexts.h b/Include/Serialization/Contexts.h index d27de9a3..a8ad7183 100644 --- a/Include/Serialization/Contexts.h +++ b/Include/Serialization/Contexts.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Serialization/Contexts/CommonContext.h" diff --git a/Include/Serialization/Contexts/CommonContext.h b/Include/Serialization/Contexts/CommonContext.h index e6e31942..ee8aac98 100644 --- a/Include/Serialization/Contexts/CommonContext.h +++ b/Include/Serialization/Contexts/CommonContext.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Misc/Checks.h" diff --git a/Include/Serialization/Contexts/ReadContext.h b/Include/Serialization/Contexts/ReadContext.h index b1aff2f6..f643ef19 100644 --- a/Include/Serialization/Contexts/ReadContext.h +++ b/Include/Serialization/Contexts/ReadContext.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Platform/Platform.h" diff --git a/Include/Serialization/Contexts/WriteContext.h b/Include/Serialization/Contexts/WriteContext.h index f4786b63..1b11fa59 100644 --- a/Include/Serialization/Contexts/WriteContext.h +++ b/Include/Serialization/Contexts/WriteContext.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Platform/Platform.h" diff --git a/Include/Serialization/ContextsFwd.h b/Include/Serialization/ContextsFwd.h index 45b10b88..02176e77 100644 --- a/Include/Serialization/ContextsFwd.h +++ b/Include/Serialization/ContextsFwd.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once // Forward declarations of all contexts diff --git a/Include/Serialization/Formats/IFormat.h b/Include/Serialization/Formats/IFormat.h index 6623dbb4..5d5ccc04 100644 --- a/Include/Serialization/Formats/IFormat.h +++ b/Include/Serialization/Formats/IFormat.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Platform/Platform.h" diff --git a/Include/Serialization/Formats/JsonFormat.h b/Include/Serialization/Formats/JsonFormat.h index d4c9adc7..80c8d50c 100644 --- a/Include/Serialization/Formats/JsonFormat.h +++ b/Include/Serialization/Formats/JsonFormat.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Serialization/Formats/TFormat.h" diff --git a/Include/Serialization/Formats/TFormat.h b/Include/Serialization/Formats/TFormat.h index fe30052d..173ca05b 100644 --- a/Include/Serialization/Formats/TFormat.h +++ b/Include/Serialization/Formats/TFormat.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Serialization/Contexts/ReadContext.h" diff --git a/Include/Serialization/SerializationTypes.h b/Include/Serialization/SerializationTypes.h index be43575c..a228cd59 100644 --- a/Include/Serialization/SerializationTypes.h +++ b/Include/Serialization/SerializationTypes.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Platform/Platform.h" diff --git a/Include/Strings/FixedString.h b/Include/Strings/FixedString.h index aebb9539..8f531e00 100644 --- a/Include/Strings/FixedString.h +++ b/Include/Strings/FixedString.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Strings/Name.h b/Include/Strings/Name.h index 0f164fed..051b8a5f 100644 --- a/Include/Strings/Name.h +++ b/Include/Strings/Name.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Strings/Regex.h b/Include/Strings/Regex.h index fc6f9171..e98638d2 100644 --- a/Include/Strings/Regex.h +++ b/Include/Strings/Regex.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Strings/String.h b/Include/Strings/String.h index 60e3f477..c3930828 100644 --- a/Include/Strings/String.h +++ b/Include/Strings/String.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Strings/StringView.h b/Include/Strings/StringView.h index 25940686..86b282c3 100644 --- a/Include/Strings/StringView.h +++ b/Include/Strings/StringView.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Tasks.h b/Include/Tasks.h index 4e605bde..24fa956b 100644 --- a/Include/Tasks.h +++ b/Include/Tasks.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Templates/Greater.h b/Include/Templates/Greater.h index 5125cdf5..25548e36 100644 --- a/Include/Templates/Greater.h +++ b/Include/Templates/Greater.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Misc/Utility.h" diff --git a/Include/Templates/Less.h b/Include/Templates/Less.h index 847f7ffb..a5d89627 100644 --- a/Include/Templates/Less.h +++ b/Include/Templates/Less.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Misc/Utility.h" diff --git a/Include/Templates/Optional.h b/Include/Templates/Optional.h index 479b002f..0881bd23 100644 --- a/Include/Templates/Optional.h +++ b/Include/Templates/Optional.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Templates/Tuples.h b/Include/Templates/Tuples.h index fc5370fa..c015cfce 100644 --- a/Include/Templates/Tuples.h +++ b/Include/Templates/Tuples.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/Templates/TypeList.h b/Include/Templates/TypeList.h index e6020ddd..579d6067 100644 --- a/Include/Templates/TypeList.h +++ b/Include/Templates/TypeList.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once diff --git a/Include/TypeTraits.h b/Include/TypeTraits.h index 99c2f379..aca043c8 100644 --- a/Include/TypeTraits.h +++ b/Include/TypeTraits.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Platform/Platform.h" diff --git a/Include/Types/BaseClass.h b/Include/Types/BaseClass.h index 048db7de..7b4e731b 100644 --- a/Include/Types/BaseClass.h +++ b/Include/Types/BaseClass.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Types/BaseStruct.h b/Include/Types/BaseStruct.h index b2de58be..60559716 100644 --- a/Include/Types/BaseStruct.h +++ b/Include/Types/BaseStruct.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "PCH.h" diff --git a/Include/Types/Class.h b/Include/Types/Class.h index b9aca7e3..c5509c1f 100644 --- a/Include/Types/Class.h +++ b/Include/Types/Class.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "BaseClass.h" diff --git a/Include/Types/ClassPtrBuilder.h b/Include/Types/ClassPtrBuilder.h index 7a0c8419..b96ef0ae 100644 --- a/Include/Types/ClassPtrBuilder.h +++ b/Include/Types/ClassPtrBuilder.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "Log.h" diff --git a/Include/Types/Struct.h b/Include/Types/Struct.h index aea4e0ee..153c5f81 100644 --- a/Include/Types/Struct.h +++ b/Include/Types/Struct.h @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #pragma once #include "BaseStruct.h" diff --git a/Src/Context.cpp b/Src/Context.cpp index 20e77034..836b01d4 100644 --- a/Src/Context.cpp +++ b/Src/Context.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Context.h" @@ -20,4 +20,4 @@ namespace Rift globalInstance.Delete(); } } -} +} // namespace Rift diff --git a/Src/Events/EventHandle.cpp b/Src/Events/EventHandle.cpp index 72bc1fde..802f4d9a 100644 --- a/Src/Events/EventHandle.cpp +++ b/Src/Events/EventHandle.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Events/EventHandle.h" diff --git a/Src/Files/FileDialog.cpp b/Src/Files/FileDialog.cpp index d329cd9c..350bccae 100644 --- a/Src/Files/FileDialog.cpp +++ b/Src/Files/FileDialog.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Files/FileDialog.h" diff --git a/Src/Files/FileWatcher.cpp b/Src/Files/FileWatcher.cpp index 7c7fdd98..85694530 100644 --- a/Src/Files/FileWatcher.cpp +++ b/Src/Files/FileWatcher.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Files/FileWatcher.h" diff --git a/Src/Files/Files.cpp b/Src/Files/Files.cpp index 700d658b..20c50392 100644 --- a/Src/Files/Files.cpp +++ b/Src/Files/Files.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Files/Files.h" diff --git a/Src/Files/Paths.cpp b/Src/Files/Paths.cpp index 1cf1fadc..2fb4c8d4 100644 --- a/Src/Files/Paths.cpp +++ b/Src/Files/Paths.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved // Some functions are adaptations to StringView from std::filesystem #include "Files/Paths.h" diff --git a/Src/Files/STDFileSystem.cpp b/Src/Files/STDFileSystem.cpp index ecbf6826..8573b7e8 100644 --- a/Src/Files/STDFileSystem.cpp +++ b/Src/Files/STDFileSystem.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Files/STDFileSystem.h" diff --git a/Src/Log.cpp b/Src/Log.cpp index 391191a9..8cbbfc0e 100644 --- a/Src/Log.cpp +++ b/Src/Log.cpp @@ -1,8 +1,9 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved + +#include "Log.h" #include "Files/Files.h" #include "Files/Paths.h" -#include "Log.h" #include "Memory/OwnPtr.h" #include "Profiler.h" @@ -13,6 +14,7 @@ #include #include #include + #if PLATFORM_WINDOWS # include #endif diff --git a/Src/Math/Bezier.cpp b/Src/Math/Bezier.cpp index bf1b5e46..329d08be 100644 --- a/Src/Math/Bezier.cpp +++ b/Src/Math/Bezier.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Math/Bezier.h" diff --git a/Src/Math/Color.cpp b/Src/Math/Color.cpp deleted file mode 100644 index 45f6a67b..00000000 --- a/Src/Math/Color.cpp +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved. - -/*============================================================================= - Color.cpp: Unreal color implementation. -=============================================================================*/ - -#include "Math/Color.h" - -#include "Math/Vector.h" -#include "Serialization/Contexts.h" - - -namespace Rift -{} // namespace Rift diff --git a/Src/Math/Math.cpp b/Src/Math/Math.cpp index 4a5d2df5..8d3aec0a 100644 --- a/Src/Math/Math.cpp +++ b/Src/Math/Math.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Math/Math.h" diff --git a/Src/Math/Quaternion.cpp b/Src/Math/Quaternion.cpp index 8f3becd6..20bae065 100644 --- a/Src/Math/Quaternion.cpp +++ b/Src/Math/Quaternion.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Math/Quaternion.h" diff --git a/Src/Math/Vector.cpp b/Src/Math/Vector.cpp index 0aa79a40..8c59a51b 100644 --- a/Src/Math/Vector.cpp +++ b/Src/Math/Vector.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Math/Vector.h" diff --git a/Src/Memory/Alloc.cpp b/Src/Memory/Alloc.cpp index ffbddabd..95069196 100644 --- a/Src/Memory/Alloc.cpp +++ b/Src/Memory/Alloc.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Memory/Alloc.h" diff --git a/Src/Memory/Arenas/BestFitArena.cpp b/Src/Memory/Arenas/BestFitArena.cpp index f62a76d0..d5898b40 100644 --- a/Src/Memory/Arenas/BestFitArena.cpp +++ b/Src/Memory/Arenas/BestFitArena.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Memory/Arenas/BestFitArena.h" diff --git a/Src/Memory/Arenas/BigBestFitArena.cpp b/Src/Memory/Arenas/BigBestFitArena.cpp index 8b57e7df..8589d1e6 100644 --- a/Src/Memory/Arenas/BigBestFitArena.cpp +++ b/Src/Memory/Arenas/BigBestFitArena.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Memory/Arenas/BigBestFitArena.h" diff --git a/Src/Memory/Arenas/GlobalArena.cpp b/Src/Memory/Arenas/GlobalArena.cpp index 75844767..8a538238 100644 --- a/Src/Memory/Arenas/GlobalArena.cpp +++ b/Src/Memory/Arenas/GlobalArena.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Memory/Arenas/GlobalArena.h" diff --git a/Src/Memory/Arenas/LinearArena.cpp b/Src/Memory/Arenas/LinearArena.cpp index 30dc597e..beb52dbe 100644 --- a/Src/Memory/Arenas/LinearArena.cpp +++ b/Src/Memory/Arenas/LinearArena.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Memory/Arenas/LinearArena.h" diff --git a/Src/Memory/NewDelete.cpp b/Src/Memory/NewDelete.cpp index e3974ddd..dc7d2490 100644 --- a/Src/Memory/NewDelete.cpp +++ b/Src/Memory/NewDelete.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #if defined(__cplusplus) diff --git a/Src/Memory/OwnPtr.cpp b/Src/Memory/OwnPtr.cpp index d2ecdfb1..9b8a671a 100644 --- a/Src/Memory/OwnPtr.cpp +++ b/Src/Memory/OwnPtr.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Memory/OwnPtr.h" diff --git a/Src/Memory/STLAllocator.cpp b/Src/Memory/STLAllocator.cpp index 1a945fba..c3dcba69 100644 --- a/Src/Memory/STLAllocator.cpp +++ b/Src/Memory/STLAllocator.cpp @@ -1,3 +1,3 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Memory/STLAllocator.h" diff --git a/Src/Misc/Checks.cpp b/Src/Misc/Checks.cpp index 7ea4434a..3d956b9b 100644 --- a/Src/Misc/Checks.cpp +++ b/Src/Misc/Checks.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Log.h" diff --git a/Src/Misc/Crc.cpp b/Src/Misc/Crc.cpp index 6f62b32d..d5c061a0 100644 --- a/Src/Misc/Crc.cpp +++ b/Src/Misc/Crc.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved // Based on Unreal Engine 4 Crc #include "Misc/Crc.h" diff --git a/Src/Misc/DateTime.cpp b/Src/Misc/DateTime.cpp index 16ae0a10..67a60a48 100644 --- a/Src/Misc/DateTime.cpp +++ b/Src/Misc/DateTime.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Misc/DateTime.h" diff --git a/Src/Misc/Guid.cpp b/Src/Misc/Guid.cpp index 1cc060a5..1e26fe4c 100644 --- a/Src/Misc/Guid.cpp +++ b/Src/Misc/Guid.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Misc/Guid.h" diff --git a/Src/Misc/Time.cpp b/Src/Misc/Time.cpp index 344586a1..24cd35c0 100644 --- a/Src/Misc/Time.cpp +++ b/Src/Misc/Time.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Misc/Time.h" diff --git a/Src/Misc/Timespan.cpp b/Src/Misc/Timespan.cpp index 48226907..0f2a7326 100644 --- a/Src/Misc/Timespan.cpp +++ b/Src/Misc/Timespan.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Misc/Timespan.h" diff --git a/Src/Platform/Generic/GenericPlatformMisc.cpp b/Src/Platform/Generic/GenericPlatformMisc.cpp index 41fa2823..02a5b3c9 100644 --- a/Src/Platform/Generic/GenericPlatformMisc.cpp +++ b/Src/Platform/Generic/GenericPlatformMisc.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Platform/Generic/GenericPlatformMisc.h" diff --git a/Src/Platform/Linux/LinuxPlatformProcess.cpp b/Src/Platform/Linux/LinuxPlatformProcess.cpp index 8f56a1a2..034914de 100644 --- a/Src/Platform/Linux/LinuxPlatformProcess.cpp +++ b/Src/Platform/Linux/LinuxPlatformProcess.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #if PLATFORM_LINUX # include "Platform/Linux/LinuxPlatformProcess.h" diff --git a/Src/Platform/Mac/MacPlatformProcess.cpp b/Src/Platform/Mac/MacPlatformProcess.cpp index dd6c332a..5d9c46b0 100644 --- a/Src/Platform/Mac/MacPlatformProcess.cpp +++ b/Src/Platform/Mac/MacPlatformProcess.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #if PLATFORM_MACOS # include "Platform/Mac/MacPlatformProcess.h" diff --git a/Src/Platform/PlatformTime.cpp b/Src/Platform/PlatformTime.cpp index 3a6bbd81..071a8580 100644 --- a/Src/Platform/PlatformTime.cpp +++ b/Src/Platform/PlatformTime.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Platform/PlatformTime.h" diff --git a/Src/Platform/Windows/WindowsPlatformMisc.cpp b/Src/Platform/Windows/WindowsPlatformMisc.cpp index 1d2942fb..8aaf704f 100644 --- a/Src/Platform/Windows/WindowsPlatformMisc.cpp +++ b/Src/Platform/Windows/WindowsPlatformMisc.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #if PLATFORM_WINDOWS # include "Platform/Windows/WindowsPlatformMisc.h" diff --git a/Src/Platform/Windows/WindowsPlatformProcess.cpp b/Src/Platform/Windows/WindowsPlatformProcess.cpp index 1556616e..88ff243d 100644 --- a/Src/Platform/Windows/WindowsPlatformProcess.cpp +++ b/Src/Platform/Windows/WindowsPlatformProcess.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #if PLATFORM_WINDOWS # include "Files/Paths.h" diff --git a/Src/Reflection/Registry/Registry.cpp b/Src/Reflection/Registry/Registry.cpp index 182d91cc..4253a5d1 100644 --- a/Src/Reflection/Registry/Registry.cpp +++ b/Src/Reflection/Registry/Registry.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Reflection/Registry/Registry.h" diff --git a/Src/Reflection/Registry/TypeBuilder.cpp b/Src/Reflection/Registry/TypeBuilder.cpp index 90349522..af290faf 100644 --- a/Src/Reflection/Registry/TypeBuilder.cpp +++ b/Src/Reflection/Registry/TypeBuilder.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Reflection/Registry/TypeBuilder.h" diff --git a/Src/Reflection/Static/ClassType.cpp b/Src/Reflection/Static/ClassType.cpp index b4cb2a6e..5b811a9f 100644 --- a/Src/Reflection/Static/ClassType.cpp +++ b/Src/Reflection/Static/ClassType.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Reflection/Static/ClassType.h" diff --git a/Src/Reflection/Static/DataType.cpp b/Src/Reflection/Static/DataType.cpp index 3e35a663..f4074b35 100644 --- a/Src/Reflection/Static/DataType.cpp +++ b/Src/Reflection/Static/DataType.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Reflection/Static/DataType.h" diff --git a/Src/Reflection/Static/Property.cpp b/Src/Reflection/Static/Property.cpp index 9c435304..8a6bb157 100644 --- a/Src/Reflection/Static/Property.cpp +++ b/Src/Reflection/Static/Property.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Reflection/Static/Property.h" diff --git a/Src/Reflection/Static/Type.cpp b/Src/Reflection/Static/Type.cpp index cbf7382f..b4612136 100644 --- a/Src/Reflection/Static/Type.cpp +++ b/Src/Reflection/Static/Type.cpp @@ -1,3 +1,3 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Reflection/Static/Type.h" diff --git a/Src/Serialization/Contexts/CommonContext.cpp b/Src/Serialization/Contexts/CommonContext.cpp index 375d7181..aa11dd4e 100644 --- a/Src/Serialization/Contexts/CommonContext.cpp +++ b/Src/Serialization/Contexts/CommonContext.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Serialization/Contexts/CommonContext.h" diff --git a/Src/Serialization/Contexts/ReadContext.cpp b/Src/Serialization/Contexts/ReadContext.cpp index cab94201..d98bf18e 100644 --- a/Src/Serialization/Contexts/ReadContext.cpp +++ b/Src/Serialization/Contexts/ReadContext.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Serialization/Contexts/ReadContext.h" diff --git a/Src/Serialization/Contexts/WriteContext.cpp b/Src/Serialization/Contexts/WriteContext.cpp index c010b145..26bf085e 100644 --- a/Src/Serialization/Contexts/WriteContext.cpp +++ b/Src/Serialization/Contexts/WriteContext.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Serialization/Contexts/WriteContext.h" diff --git a/Src/Serialization/Formats/JsonFormat.cpp b/Src/Serialization/Formats/JsonFormat.cpp index 9525a8a9..55108100 100644 --- a/Src/Serialization/Formats/JsonFormat.cpp +++ b/Src/Serialization/Formats/JsonFormat.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Serialization/Formats/JsonFormat.h" #include "Log.h" diff --git a/Src/Strings/Name.cpp b/Src/Strings/Name.cpp index 9a7b8248..0dbcadff 100644 --- a/Src/Strings/Name.cpp +++ b/Src/Strings/Name.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Strings/Name.h" diff --git a/Src/Strings/String.cpp b/Src/Strings/String.cpp index e1882a90..932a9a56 100644 --- a/Src/Strings/String.cpp +++ b/Src/Strings/String.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Strings/String.h" diff --git a/Src/Strings/StringView.cpp b/Src/Strings/StringView.cpp index 42d5bc2a..82a4f89b 100644 --- a/Src/Strings/StringView.cpp +++ b/Src/Strings/StringView.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Strings/StringView.h" diff --git a/Src/Tasks.cpp b/Src/Tasks.cpp index 098fae50..3acabc23 100644 --- a/Src/Tasks.cpp +++ b/Src/Tasks.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Tasks.h" @@ -29,20 +29,20 @@ namespace Rift std::condition_variable cv; i32 currentWorker = 0; const i32 workerPoolSize = i32(workerPool.num_workers()); - flow.for_each_index( - 0, workerPoolSize, 1, [&mtx, &cv, ¤tWorker, workerPoolSize](i32 i) { - std::unique_lock lck(mtx); - ++currentWorker; - cv.notify_all(); - while (workerPoolSize != currentWorker) - { - cv.wait(lck); - } - { - // Name each worker thread in the debugger - tracy::SetThreadName(Strings::Format("Worker {}", i + 1).c_str()); - } - }); + flow.for_each_index(0, workerPoolSize, 1, + [&mtx, &cv, ¤tWorker, workerPoolSize](i32 i) { + std::unique_lock lck(mtx); + ++currentWorker; + cv.notify_all(); + while (workerPoolSize != currentWorker) + { + cv.wait(lck); + } + { + // Name each worker thread in the debugger + tracy::SetThreadName(Strings::Format("Worker {}", i + 1).c_str()); + } + }); auto future = Run(flow, TaskPool::Workers); cv.notify_all(); future.wait(); @@ -52,10 +52,8 @@ namespace Rift { switch (pool) { - case TaskPool::Workers: - return workerPool; - case TaskPool::Main: - return mainPool; + case TaskPool::Workers: return workerPool; + case TaskPool::Main: return mainPool; } CheckMsg(false, "Requested an invalid pool"); static ThreadPool invalidPool{0}; diff --git a/Src/Types/BaseClass.cpp b/Src/Types/BaseClass.cpp index 7a70424b..0621a752 100644 --- a/Src/Types/BaseClass.cpp +++ b/Src/Types/BaseClass.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include "Types/BaseClass.h" diff --git a/Tests/Containers/Array.spec.cpp b/Tests/Containers/Array.spec.cpp index b2de7dc3..1f56749e 100644 --- a/Tests/Containers/Array.spec.cpp +++ b/Tests/Containers/Array.spec.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include #include diff --git a/Tests/Containers/Set.spec.cpp b/Tests/Containers/Set.spec.cpp index 6c236bf8..effa0d5f 100644 --- a/Tests/Containers/Set.spec.cpp +++ b/Tests/Containers/Set.spec.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include #include diff --git a/Tests/Events/Function.spec.cpp b/Tests/Events/Function.spec.cpp index 1f5a9494..318f1254 100644 --- a/Tests/Events/Function.spec.cpp +++ b/Tests/Events/Function.spec.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include #include diff --git a/Tests/Files/Paths.spec.cpp b/Tests/Files/Paths.spec.cpp index 8be465fe..4f52360c 100644 --- a/Tests/Files/Paths.spec.cpp +++ b/Tests/Files/Paths.spec.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include #include diff --git a/Tests/Math/Color.spec.cpp b/Tests/Math/Color.spec.cpp index 1fe492ca..cdcdafed 100644 --- a/Tests/Math/Color.spec.cpp +++ b/Tests/Math/Color.spec.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include #include diff --git a/Tests/Math/Math.spec.cpp b/Tests/Math/Math.spec.cpp index 3ed775c3..55ffd500 100644 --- a/Tests/Math/Math.spec.cpp +++ b/Tests/Math/Math.spec.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include #include diff --git a/Tests/Memory/BestFitArena.spec.cpp b/Tests/Memory/BestFitArena.spec.cpp index 2da01b48..2378773a 100644 --- a/Tests/Memory/BestFitArena.spec.cpp +++ b/Tests/Memory/BestFitArena.spec.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include #include diff --git a/Tests/Memory/BigBestFitArena.spec.cpp b/Tests/Memory/BigBestFitArena.spec.cpp index cf6a2782..a4798f92 100644 --- a/Tests/Memory/BigBestFitArena.spec.cpp +++ b/Tests/Memory/BigBestFitArena.spec.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include #include diff --git a/Tests/Memory/LinearArena.spec.cpp b/Tests/Memory/LinearArena.spec.cpp index 29a02b87..ba6c0ff4 100644 --- a/Tests/Memory/LinearArena.spec.cpp +++ b/Tests/Memory/LinearArena.spec.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include #include diff --git a/Tests/Object.spec.cpp b/Tests/Object.spec.cpp index cbf0480f..af95f2bf 100644 --- a/Tests/Object.spec.cpp +++ b/Tests/Object.spec.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include #include diff --git a/Tests/OwnPtr.spec.cpp b/Tests/OwnPtr.spec.cpp index a51839e8..90ec93c6 100644 --- a/Tests/OwnPtr.spec.cpp +++ b/Tests/OwnPtr.spec.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include #include diff --git a/Tests/Reflection/TypeId.spec.cpp b/Tests/Reflection/TypeId.spec.cpp index 0bc3938a..88701a95 100644 --- a/Tests/Reflection/TypeId.spec.cpp +++ b/Tests/Reflection/TypeId.spec.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include #include diff --git a/Tests/Reflection/TypeName.spec.cpp b/Tests/Reflection/TypeName.spec.cpp index e46fe78b..b43bb2dd 100644 --- a/Tests/Reflection/TypeName.spec.cpp +++ b/Tests/Reflection/TypeName.spec.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include #include diff --git a/Tests/Serialization/Json.spec.cpp b/Tests/Serialization/Json.spec.cpp index a20bd580..255852a9 100644 --- a/Tests/Serialization/Json.spec.cpp +++ b/Tests/Serialization/Json.spec.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include #include diff --git a/Tests/Serialization/Serialization.spec.cpp b/Tests/Serialization/Serialization.spec.cpp index f0209802..398a1186 100644 --- a/Tests/Serialization/Serialization.spec.cpp +++ b/Tests/Serialization/Serialization.spec.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2021 Piperift - All rights reserved +// Copyright 2015-2022 Piperift - All rights reserved #include #include diff --git a/Tests/main.cpp b/Tests/main.cpp index 27a92c41..764b18e5 100644 --- a/Tests/main.cpp +++ b/Tests/main.cpp @@ -1,6 +1,7 @@ +// Copyright 2015-2022 Piperift - All rights reserved -#include #include +#include class NoFileLogContext : public Rift::Context