forked from qt-creator/qt-creator
LanguageServerProtocol: remove unused constructor
Change-Id: I9307b00da7162f99d46ea66785f020daeddcc801 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -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()))
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user