diff --git a/CMakeLists.txt b/CMakeLists.txt index 30f90d3..9c568a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,7 +53,7 @@ set(QI_QMP_QX_COMPONENTS include(OB/FetchQx) ob_fetch_qx( - REF "a87499d7bb9ba6279b2db72ce3589e4c6fea7763" + REF "520cc55d4a38aeb98c945b5c0c1c6eb70459af35" COMPONENTS ${QI_QMP_QX_COMPONENTS} ) diff --git a/lib/src/qmpi.cpp b/lib/src/qmpi.cpp index be9d20c..c8cf7ec 100644 --- a/lib/src/qmpi.cpp +++ b/lib/src/qmpi.cpp @@ -25,7 +25,7 @@ struct Greeting struct SuccessResponse { - static inline const QString IDENTIFIER_KEY = QSL("return"); + static inline const QString IDENTIFIER_KEY =u"return"_s; }; struct ErrorBody @@ -41,7 +41,7 @@ struct ErrorBody struct ErrorResponse { - static inline const QString IDENTIFIER_KEY = QSL("error"); + static inline const QString IDENTIFIER_KEY =u"error"_s; ErrorBody error; @@ -58,7 +58,7 @@ struct Timestamp struct AsyncEvent { - static inline const QString IDENTIFIER_KEY = QSL("event"); + static inline const QString IDENTIFIER_KEY =u"event"_s; QString event; QJsonObject data; @@ -70,11 +70,11 @@ struct AsyncEvent // TODO: Use QX_JSON for serializing these after the serialization portion of QX_JSON is implemented struct Execute { - static inline const QString IDENTIFIER_KEY = QSL("execute"); - static inline const QString ARGUMENTS = QSL("arguments"); + static inline const QString IDENTIFIER_KEY =u"execute"_s; + static inline const QString ARGUMENTS =u"arguments"_s; }; -static inline const QString NEGOTIATION_COMMAND = QSL("qmp_capabilities"); +static inline const QString NEGOTIATION_COMMAND =u"qmp_capabilities"_s; } /*! @endcond */