Kagome
Polkadot Runtime Engine in C++17
no_data_message.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_CORE_NETWORK_TYPES_NO_DATA_HPP
7 #define KAGOME_CORE_NETWORK_TYPES_NO_DATA_HPP
8 
9 #include "primitives/common.hpp"
10 
11 namespace kagome::network {
12 
16  struct NoData {};
18 
25  inline bool operator==(const NoData &lhs, const NoData &rhs) {
26  return true;
27  }
28 } // namespace kagome::network
29 
30 #endif // KAGOME_CORE_NETWORK_TYPES_NO_DATA_HPP
SCALE_EMPTY_CODER(NoData)
bool operator==(const NoData &lhs, const NoData &rhs)
compares two Status instances