Skip to content

Conversation

@georgthegreat
Copy link
Contributor

@georgthegreat georgthegreat commented Jul 6, 2021

It has been deprecated for at least 3 years.
Worse backward incompatible things have happened during this period.

I think this method could be safely removed, as the client code fix is trivial.

It has been depcated for at least 3 years.
Worst (backward incompatible) things happened during this period.

I think this method could be safely removed, as the client code fix is trivial.
@acozzette
Copy link

It looks like coded_stream_unittest.cc needs to be updated because it still exercises the deprecated function.

@georgthegreat
Copy link
Contributor Author

Thanks, Adam.
This should be fixed now.

@acozzette acozzette merged commit cda7954 into protocolbuffers:master Jul 9, 2021
@acozzette
Copy link

@georgthegreat Thanks for the cleanup!

@georgthegreat georgthegreat deleted the patch-1 branch July 10, 2021 08:26
@MohamadHalwani
Copy link

error: no matching function for call to ‘google::protobuf::io::CodedInputStream::SetTotalBytesLimit(const int&, const int&)’
any idea ?

@georgthegreat
Copy link
Contributor Author

You should use single parameter version instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants