Skip to content

Commit

Permalink
Added explicit to a single-arg constructor to fix a ClangTidy warning.
Browse files Browse the repository at this point in the history
This is the only remaining ClangTidy warning in this directory.

PiperOrigin-RevId: 593867029
  • Loading branch information
haberman authored and copybara-github committed Dec 26, 2023
1 parent 4c74345 commit ca58c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upb/wire/eps_copy_input_stream_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ TEST(EpsCopyInputStreamTest, ZeroSize) {
//
// class FakeStream {
// public:
// FakeStream(const std::string& data) : data_(data), offset_(0) {
// explicit FakeStream(const std::string& data) : data_(data), offset_(0) {
// limits_.push_back(data.size());
// }
//
Expand Down

0 comments on commit ca58c35

Please sign in to comment.