forked from LeenkxTeam/LNXSDK
HaxeJolt
This commit is contained in:
18
lib/haxejolt/JoltPhysics/Jolt/Core/NonCopyable.h
Normal file
18
lib/haxejolt/JoltPhysics/Jolt/Core/NonCopyable.h
Normal file
@ -0,0 +1,18 @@
|
||||
// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
|
||||
// SPDX-FileCopyrightText: 2021 Jorrit Rouwe
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
#pragma once
|
||||
|
||||
JPH_NAMESPACE_BEGIN
|
||||
|
||||
/// Class that makes another class non-copyable. Usage: Inherit from NonCopyable.
|
||||
class JPH_EXPORT NonCopyable
|
||||
{
|
||||
public:
|
||||
NonCopyable() = default;
|
||||
NonCopyable(const NonCopyable &) = delete;
|
||||
void operator = (const NonCopyable &) = delete;
|
||||
};
|
||||
|
||||
JPH_NAMESPACE_END
|
||||
Reference in New Issue
Block a user