kazuho / picojson

a header-file-only, JSON parser serializer in C++
BSD 2-Clause "Simplified" License
1.12k stars 222 forks source link

Warning about return from void function #119

Open f18m opened 5 years ago

f18m commented 5 years ago

Hi, In all header files where I included picojson.h Eclipse is printing out a warning:

template void value::serialize(Iter oi, bool prettify) const { return _serialize(oi, prettify ? 0 : -1); }

has a "return" statement even if declared void...