← Back to team overview

kicad-developers team mailing list archive

[PATCH] Add missing header

 

color_swatch.cpp uses std::unique_ptr
---
 common/widgets/color_swatch.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/widgets/color_swatch.cpp b/common/widgets/color_swatch.cpp
index 745537d4b..354ed5df3 100644
--- a/common/widgets/color_swatch.cpp
+++ b/common/widgets/color_swatch.cpp
@@ -26,6 +26,8 @@
 #include <wx/colour.h>
 #include <wx/colordlg.h>
 
+#include <memory>
+
 wxDEFINE_EVENT(COLOR_SWATCH_CHANGED, wxCommandEvent);
 
 using KIGFX::COLOR4D;

Follow ups