[Libosinfo] [PATCH] Drop redundant 'const' keyword from object parameters

Christophe Fergeau cfergeau at redhat.com
Fri Nov 17 10:57:29 UTC 2017


Hey,

> > It's definitely not used consistently, but removing a 'const' from
> > external API is going to cause breakage in C++ code:
> 
> Well that's true but IMHO this breakage is OK, given:
> 
> * the unlikelyhood of an existing C++ project using libosinfo.

This patch would fix generation of rust bindings, which have 0 users
for sure at the moment since it's broken. So there are at least as many
C++ projects using libosinfo, maybe more :)
If the breakage is fixed in the Rust binding generator soon, I'd rather
we drop this patch.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20171117/2266abee/attachment.sig>


More information about the Libosinfo mailing list