update jsonrpc++ to v1.2.2

This commit is contained in:
badaix 2019-10-15 23:15:55 +02:00
parent 0901544255
commit e5a5903af4

View file

@ -3,7 +3,7 @@
_( )/ ___) / \ ( ( \( _ \( _ \ / __)( ) ( ) _( )/ ___) / \ ( ( \( _ \( _ \ / __)( ) ( )
/ \) \\___ \( O )/ / ) / ) __/( (__(_ _)(_ _) / \) \\___ \( O )/ / ) / ) __/( (__(_ _)(_ _)
\____/(____/ \__/ \_)__)(__\_)(__) \___)(_) (_) \____/(____/ \__/ \_)__)(__\_)(__) \___)(_) (_)
version 1.2.1 version 1.2.2
https://github.com/badaix/jsonrpcpp https://github.com/badaix/jsonrpcpp
This file is part of jsonrpc++ This file is part of jsonrpc++
@ -71,6 +71,8 @@ public:
Entity(entity_t type); Entity(entity_t type);
virtual ~Entity() = default; virtual ~Entity() = default;
Entity(const Entity&) = default;
Entity& operator=(const Entity&) = default;
bool is_exception(); bool is_exception();
bool is_id(); bool is_id();
@ -99,7 +101,6 @@ class NullableEntity : public Entity
public: public:
NullableEntity(entity_t type); NullableEntity(entity_t type);
NullableEntity(entity_t type, std::nullptr_t); NullableEntity(entity_t type, std::nullptr_t);
~NullableEntity() override = default;
#ifdef _MSC_VER #ifdef _MSC_VER
virtual operator bool() const virtual operator bool() const
#else #else
@ -301,7 +302,6 @@ public:
RpcException(const char* text); RpcException(const char* text);
RpcException(const std::string& text); RpcException(const std::string& text);
~RpcException() override = default;
const char* what() const noexcept override; const char* what() const noexcept override;
protected: protected: