[Lldb-commits] [lldb] 1432ab1 - [lldb] Add missing include to Cloneable.h

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 2 02:01:29 PST 2021


Author: Raphael Isemann
Date: 2021-03-02T11:01:08+01:00
New Revision: 1432ab171f9dece77b141d6c11da895275de14be

URL: https://github.com/llvm/llvm-project/commit/1432ab171f9dece77b141d6c11da895275de14be
DIFF: https://github.com/llvm/llvm-project/commit/1432ab171f9dece77b141d6c11da895275de14be.diff

LOG: [lldb] Add missing include to Cloneable.h

This header is using make_shared so it needs to include <memory>.

Added: 
    

Modified: 
    lldb/include/lldb/Utility/Cloneable.h

Removed: 
    


################################################################################
diff  --git a/lldb/include/lldb/Utility/Cloneable.h b/lldb/include/lldb/Utility/Cloneable.h
index 7082f3a59ce5..4c9b7ae340dc 100644
--- a/lldb/include/lldb/Utility/Cloneable.h
+++ b/lldb/include/lldb/Utility/Cloneable.h
@@ -9,6 +9,7 @@
 #ifndef LLDB_UTILITY_CLONEABLE_H
 #define LLDB_UTILITY_CLONEABLE_H
 
+#include <memory>
 #include <type_traits>
 
 namespace lldb_private {


        


More information about the lldb-commits mailing list