HttpForm needs another friend class for GCC6.
This commit is contained in:
@@ -32,7 +32,11 @@ private:
|
|||||||
// but never used (see BHttpForm::operator[] which does the necessary
|
// but never used (see BHttpForm::operator[] which does the necessary
|
||||||
// check up)
|
// check up)
|
||||||
BHttpFormData();
|
BHttpFormData();
|
||||||
|
#if __GNUC__ >= 6
|
||||||
|
friend class std::pair<const BString, BHttpFormData>;
|
||||||
|
#else
|
||||||
friend class std::map<BString, BHttpFormData>;
|
friend class std::map<BString, BHttpFormData>;
|
||||||
|
#endif
|
||||||
|
|
||||||
public:
|
public:
|
||||||
BHttpFormData(const BString& name,
|
BHttpFormData(const BString& name,
|
||||||
|
|||||||
Reference in New Issue
Block a user