commit | ae05a2bddcaf4c5d107a70802a336c937801c49f | [log] [tgz] |
---|---|---|
author | Rob Mohr <mohrr@google.com> | Fri Dec 20 11:41:04 2019 -0800 |
committer | Rob Mohr <mohrr@google.com> | Fri Dec 20 11:41:04 2019 -0800 |
tree | 755d4f723fd05078503c8185ec1148d34d39934b | |
parent | ee8ce08783ca16e9d7c89eb3ed352f28e9edd49e [diff] |
Add class template deduction guide. This is needed by some build systems. Change-Id: I992ccc045cbc72da1c49bde8368512a3cb102d6b
diff --git a/pw_protobuf/public/pw_protobuf/encoder.h b/pw_protobuf/public/pw_protobuf/encoder.h index 89c4e78..360b88f 100644 --- a/pw_protobuf/public/pw_protobuf/encoder.h +++ b/pw_protobuf/public/pw_protobuf/encoder.h
@@ -364,4 +364,7 @@ std::array<size_t*, kMaxNestedDepth> stack_; }; +// Explicit template argument deduction to hide warnings. +NestedEncoder()->NestedEncoder<>; + } // namespace pw::protobuf