HttpForm needs another friend class for GCC6.
This commit is contained in:
parent
82a6fd69f7
commit
b4665f9a59
@ -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<const BString, BHttpFormData>;
|
||||
#else
|
||||
friend class std::map<BString, BHttpFormData>;
|
||||
#endif
|
||||
|
||||
public:
|
||||
BHttpFormData(const BString& name,
|
||||
|
Loading…
Reference in New Issue
Block a user