From 119bff351450ea16ffda550b6e0f67379b29f708 Mon Sep 17 00:00:00 2001 From: void_17 Date: Mon, 2 Mar 2026 17:37:16 +0700 Subject: Revert "shared_ptr -> std::shared_ptr" This reverts commit 7074f35e4ba831e358117842b99ee35b87f85ae5. --- Minecraft.World/HitResult.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Minecraft.World/HitResult.cpp') diff --git a/Minecraft.World/HitResult.cpp b/Minecraft.World/HitResult.cpp index 1406d08c..ffa93541 100644 --- a/Minecraft.World/HitResult.cpp +++ b/Minecraft.World/HitResult.cpp @@ -15,7 +15,7 @@ HitResult::HitResult(int x, int y, int z, int f, Vec3 *pos) this->entity = nullptr; } -HitResult::HitResult(std::shared_ptr entity) +HitResult::HitResult(shared_ptr entity) { this->type = ENTITY; this->entity = entity; @@ -24,7 +24,7 @@ HitResult::HitResult(std::shared_ptr entity) x = y = z = f = 0; } -double HitResult::distanceTo(std::shared_ptr e) +double HitResult::distanceTo(shared_ptr e) { double xd = pos->x - e->x; double yd = pos->y - e->y; -- cgit v1.2.3