diff --git a/duchain/rustducontext.h b/duchain/rustducontext.h index 9e42a4e..fbc8f3b 100644 --- a/duchain/rustducontext.h +++ b/duchain/rustducontext.h @@ -1,41 +1,41 @@ #ifndef RUSTDUCONTEXT_H #define RUSTDUCONTEXT_H #include #include #include namespace Rust { using namespace KDevelop; template class RustDUContext : public BaseContext { public: template explicit RustDUContext(Data& data) : BaseContext(data) { } ///Parameters will be reached to the base-class template explicit RustDUContext(Params... params) : BaseContext(params...) { static_cast(this)->d_func_dynamic()->setClassId(this); } - QWidget *createNavigationWidget(KDevelop::Declaration* decl = 0, KDevelop::TopDUContext* topContext = 0, + QWidget *createNavigationWidget(KDevelop::Declaration* decl = nullptr, KDevelop::TopDUContext* topContext = nullptr, const QString& htmlPrefix = QString(), const QString& htmlSuffix = QString(), KDevelop::AbstractNavigationWidget::DisplayHints hints = KDevelop::AbstractNavigationWidget::NoHints) const override; enum { Identity = IdentityT }; }; using RustTopDUContext = RustDUContext; using RustNormalDUContext = RustDUContext; } #endif // RUSTDUCONTEXT_H