diff --git a/include/reactphysics3d/collision/OverlapCallback.h b/include/reactphysics3d/collision/OverlapCallback.h index df525185..4f12816e 100644 --- a/include/reactphysics3d/collision/OverlapCallback.h +++ b/include/reactphysics3d/collision/OverlapCallback.h @@ -93,7 +93,7 @@ class OverlapCallback { // -------------------- Methods -------------------- // /// Copy constructor - OverlapPair(const OverlapPair& contactPair) = delete; + OverlapPair(const OverlapPair& contactPair) = default; /// Assignment operator OverlapPair& operator=(const OverlapPair& contactPair) = delete;