mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-01 10:45:56 +08:00
Use friend struct for serializable_traits
This commit is contained in:
parent
7592e129d2
commit
368def16ce
@ -28,7 +28,7 @@
|
||||
|
||||
template <class Interface>
|
||||
struct OptionalInterface {
|
||||
friend class serializable_traits<OptionalInterface<Interface>>;
|
||||
friend struct serializable_traits<OptionalInterface<Interface>>;
|
||||
// Represents an interface with a known id() and possibly known actual endpoints.
|
||||
// For example, an OptionalInterface<TLogInterface> represents a particular tlog by id, which you might or might not presently know how to communicate with
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user