Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
19 lines
443 B
C++
19 lines
443 B
C++
// 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
|