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;
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to