diff --git a/ibrdtn/ibrdtn/ibrdtn/data/Bundle.h b/ibrdtn/ibrdtn/ibrdtn/data/Bundle.h index 036a2a6fb..9bbc066d7 100644 --- a/ibrdtn/ibrdtn/ibrdtn/data/Bundle.h +++ b/ibrdtn/ibrdtn/ibrdtn/data/Bundle.h @@ -69,6 +69,9 @@ namespace dtn bool operator==(const dtn::data::block_t &type) const { return (**this) == type; } + bool operator!=(const dtn::data::block_t &type) const { + return !((**this) == type); + } }; typedef std::list block_list;