From fa2f2e31043d35cca0db760e80180412cabccd52 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Fri, 24 Jan 2025 12:53:56 +0100 Subject: [PATCH] Fix Linux build --- Source/Engine/Platform/Linux/LinuxFileSystemWatcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/Platform/Linux/LinuxFileSystemWatcher.cpp b/Source/Engine/Platform/Linux/LinuxFileSystemWatcher.cpp index 4c688732c..016b95b51 100644 --- a/Source/Engine/Platform/Linux/LinuxFileSystemWatcher.cpp +++ b/Source/Engine/Platform/Linux/LinuxFileSystemWatcher.cpp @@ -217,7 +217,7 @@ LinuxFileSystemWatcher::~LinuxFileSystemWatcher() FileSystemWatchers::Thread = nullptr; close(FileSystemWatchers::WacherFileDescriptor); FileSystemWatchers::WacherFileDescriptor = 0; - for (auto e : FileSystemWatchers::Watchers) + for (auto& e : FileSystemWatchers::Watchers) Delete(e.Value.Second.Second); FileSystemWatchers::Watchers.Clear(); }