Commit 8f3305c5 authored by Pavel Vainerman's avatar Pavel Vainerman

fix TextMessage specification

parent a63732d3
...@@ -280,17 +280,17 @@ namespace uniset ...@@ -280,17 +280,17 @@ namespace uniset
{ {
public: public:
TextMessage( TextMessage&& ) noexcept = default; TextMessage( TextMessage&& ) noexcept = default;
TextMessage& operator=(TextMessage&& ) noexcept = default; TextMessage& operator=(TextMessage&& ) = default;
TextMessage( const TextMessage& ) noexcept = default; TextMessage( const TextMessage& ) = default;
TextMessage& operator=( const TextMessage& ) noexcept = default; TextMessage& operator=( const TextMessage& ) = default;
TextMessage() noexcept;
TextMessage( const VoidMessage* msg ) noexcept; TextMessage( const VoidMessage* msg ) noexcept;
TextMessage();
TextMessage( const char* msg, TextMessage( const char* msg,
const ::uniset::Timespec& tm, const ::uniset::Timespec& tm,
const ::uniset::ProducerInfo& pi, const ::uniset::ProducerInfo& pi,
Priority prior = Message::Medium, Priority prior = Message::Medium,
ObjectId cons = uniset::DefaultObjectId ); ObjectId cons = uniset::DefaultObjectId ) noexcept;
std::shared_ptr<VoidMessage> toLocalVoidMessage() const; std::shared_ptr<VoidMessage> toLocalVoidMessage() const;
......
...@@ -245,7 +245,7 @@ namespace uniset ...@@ -245,7 +245,7 @@ namespace uniset
} }
} }
//-------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------
TextMessage::TextMessage() TextMessage::TextMessage() noexcept
{ {
type = Message::TextMessage; type = Message::TextMessage;
} }
...@@ -254,7 +254,7 @@ namespace uniset ...@@ -254,7 +254,7 @@ namespace uniset
const uniset::Timespec& tm, const uniset::Timespec& tm,
const ::uniset::ProducerInfo& pi, const ::uniset::ProducerInfo& pi,
Priority prior, Priority prior,
ObjectId cons) ObjectId cons) noexcept
{ {
type = Message::TextMessage; type = Message::TextMessage;
this->node = pi.node; this->node = pi.node;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment