Browse Source

Improved SerializableJSONStateConnection class

- made constructor explicit
Patrick-Laptop 4 years ago
parent
commit
94e14a7308

+ 1 - 1
source/serialization/json/logic/SerializableJSONStateConnection.hpp

@@ -20,7 +20,7 @@ namespace ls_std {
   class SerializableJSONStateConnection : public Class, public ISerializable {
     public:
 
-      SerializableJSONStateConnection(std::shared_ptr<ls_std::StateConnection> _value);
+      explicit SerializableJSONStateConnection(std::shared_ptr<ls_std::StateConnection> _value);
       ~SerializableJSONStateConnection() = default;
 
       ls_std::byte_field marshal() override;