Added `explicit` to a single-arg constructor to fix a ClangTidy warning.

This is the only remaining ClangTidy warning in this directory.

PiperOrigin-RevId: 593867029
pull/15196/head
Joshua Haberman 1 year ago committed by Copybara-Service
parent 4c7434560d
commit ca58c35e24
  1. 2
      upb/wire/eps_copy_input_stream_test.cc

@ -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());
// }
//

Loading…
Cancel
Save