1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-08 21:09:17 -04:00
ports/security/certificate-transparency/files/patch-cpp-log-logged_entry.h
Sunpoet Po-Chuan Hsieh 71c9c5baba Fix build with devel/protobuf
Obtained from:	6776cc2c4c
Notified by:	jbeich
2017-02-02 11:33:13 +00:00

15 lines
593 B
C

Obtained from: https://github.com/google/certificate-transparency/commit/6776cc2c4cca665c088019d40f9587189a5d687d
--- cpp/log/logged_entry.h.orig
+++ cpp/log/logged_entry.h
@@ -25,9 +25,7 @@ class LoggedEntry : private ct::LoggedEntryPB {
using LoggedEntryPB::merkle_leaf_hash;
using LoggedEntryPB::set_merkle_leaf_hash;
using LoggedEntryPB::set_sequence_number;
- void CopyFrom(const ::google::protobuf::Message& from) {
- LoggedEntryPB::CopyFrom(from);
- }
+ using LoggedEntryPB::CopyFrom;
void CopyFrom(const LoggedEntry& from) {
LoggedEntryPB::CopyFrom(from);
}