-
-
Notifications
You must be signed in to change notification settings - Fork 189
Closed
Description
It's this line: https://github.com/danielaparker/jsoncons/blob/master/include/jsoncons/staj_reader.hpp#L870
Doesn't it miss a return?
I'm not aware of any issues related to this, but i spotted this warning when cross-compiling with clang for OSX:
In file included from .../include/jsoncons/ser_traits.hpp:20:
.../include/jsoncons/staj_reader.hpp:871:5: warning:
control may reach end of non-void function [-Wreturn-type]
}
^
.../include/jsoncons/staj_reader.hpp:1022:44: note: in
instantiation of member function
'jsoncons::typed_array<std::__1::allocator<char> >::data' requested here
data_.uint64_data_ = other.data(uint64_array_arg).data();
^