Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
NonCopyable.h
Go to the documentation of this file.
1// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
2// SPDX-FileCopyrightText: 2021 Jorrit Rouwe
3// SPDX-License-Identifier: MIT
4
5#pragma once
6
8
11{
12public:
13 NonCopyable() = default;
14 NonCopyable(const NonCopyable &) = delete;
15 void operator = (const NonCopyable &) = delete;
16};
17
#define JPH_EXPORT
Definition: Core.h:227
#define JPH_NAMESPACE_END
Definition: Core.h:367
#define JPH_NAMESPACE_BEGIN
Definition: Core.h:361
Class that makes another class non-copyable. Usage: Inherit from NonCopyable.
Definition: NonCopyable.h:11
NonCopyable(const NonCopyable &)=delete
NonCopyable()=default