LanguageServerProtocol: remove unused constructor

Change-Id: I9307b00da7162f99d46ea66785f020daeddcc801
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2021-03-18 06:55:55 +01:00
parent 0f6d04ce34
commit 49acc4452e
2 changed files with 0 additions and 5 deletions

View File

@@ -31,10 +31,6 @@
namespace LanguageServerProtocol {
ProgressToken::ProgressToken()
: Utils::variant<int, QString>(QUuid::createUuid().toString())
{}
ProgressToken::ProgressToken(const QJsonValue &value)
{
if (!QTC_GUARD(value.isDouble() || value.isString()))

View File

@@ -36,7 +36,6 @@ namespace LanguageServerProtocol {
class LANGUAGESERVERPROTOCOL_EXPORT ProgressToken : public Utils::variant<int, QString>
{
public:
ProgressToken();
using variant::variant;
explicit ProgressToken(const QJsonValue &value);