Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 736041 Details for
Bug 800536
sci-libs/gmsh-4.8.4 - /.../picojson.h: error: macro _serialize passed 2 arguments, but takes just 0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
picojson.patch (text/plain), 1.95 KB, created by
Antoine Lemoine
on 2021-08-25 21:12:44 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Antoine Lemoine
Created:
2021-08-25 21:12:44 UTC
Size:
1.95 KB
patch
obsolete
>--- gmsh-4.8.4-source/Common/picojson.h 2021-04-09 20:50:41.000000000 +0200 >+++ gmsh-4.8.4-source/Common/picojson.h 2021-08-25 23:07:12.206460047 +0200 >@@ -186,8 +186,8 @@ > private: > template <typename T> value(const T *); // intentionally defined to block implicit conversion of pointer to bool > template <typename Iter> static void _indent(Iter os, int indent); >- template <typename Iter> void _serialize(Iter os, int indent) const; >- std::string _serialize(int indent) const; >+ template <typename Iter> void serialize_(Iter os, int indent) const; >+ std::string serialize_(int indent) const; > void clear(); > }; > >@@ -549,11 +549,11 @@ > } > > template <typename Iter> void value::serialize(Iter oi, bool prettify) const { >- return _serialize(oi, prettify ? 0 : -1); >+ return serialize_(oi, prettify ? 0 : -1); > } > > inline std::string value::serialize(bool prettify) const { >- return _serialize(prettify ? 0 : -1); >+ return serialize_(prettify ? 0 : -1); > } > > template <typename Iter> void value::_indent(Iter oi, int indent) { >@@ -563,7 +563,7 @@ > } > } > >-template <typename Iter> void value::_serialize(Iter oi, int indent) const { >+template <typename Iter> void value::serialize_(Iter oi, int indent) const { > switch (type_) { > case string_type: > serialize_str(*u_.string_, oi); >@@ -580,7 +580,7 @@ > if (indent != -1) { > _indent(oi, indent); > } >- i->_serialize(oi, indent); >+ i->serialize_(oi, indent); > } > if (indent != -1) { > --indent; >@@ -608,7 +608,7 @@ > if (indent != -1) { > *oi++ = ' '; > } >- i->second._serialize(oi, indent); >+ i->second.serialize_(oi, indent); > } > if (indent != -1) { > --indent; >@@ -628,9 +628,9 @@ > } > } > >-inline std::string value::_serialize(int indent) const { >+inline std::string value::serialize_(int indent) const { > std::string s; >- _serialize(std::back_inserter(s), indent); >+ serialize_(std::back_inserter(s), indent); > return s; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 800536
:
721807
|
721810
|
721813
|
721816
|
721819
|
721822
|
721825
| 736041