From b4665f9a5920f7f3d3795d011afd5b852000a9f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Thu, 30 Jul 2015 22:07:25 +0200 Subject: [PATCH] HttpForm needs another friend class for GCC6. --- headers/os/net/HttpForm.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/headers/os/net/HttpForm.h b/headers/os/net/HttpForm.h index b4eba439de..6936e1ede5 100644 --- a/headers/os/net/HttpForm.h +++ b/headers/os/net/HttpForm.h @@ -32,7 +32,11 @@ private: // but never used (see BHttpForm::operator[] which does the necessary // check up) BHttpFormData(); +#if __GNUC__ >= 6 + friend class std::pair; +#else friend class std::map; +#endif public: BHttpFormData(const BString& name,