/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Fireworks/Core/interface/FWViewContextMenuHandlerGL.h
26 строк
905 B
Shahzad Malik Muzaffar
[Fireworks][clang-tidy] modernize-use-equals-delete suggests to make deleted member function public
28 июл 2021, 12:33
28 июл 2021, 12:33
68a6350
Код
Авторство
О чём код?
#ifndef Fireworks_Core_FWViewContextMenuHandlerBaseGL_h #define Fireworks_Core_FWViewContextMenuHandlerBaseGL_h #include "Fireworks/Core/interface/FWViewContextMenuHandlerBase.h" class FWEveView; class FWModelId; class FWViewContextMenuHandlerGL : public FWViewContextMenuHandlerBase { public: enum GLViewerAction { kAnnotate, kCameraCenter, kResetCameraCenter, kOrigin, kNone }; FWViewContextMenuHandlerGL(FWEveView *v); ~FWViewContextMenuHandlerGL() override {} void select(int iEntryIndex, const FWModelId &id, int iX, int iY) override; FWViewContextMenuHandlerGL(const FWViewContextMenuHandlerGL &) = delete; // stop default const FWViewContextMenuHandlerGL &operator=(const FWViewContextMenuHandlerGL &) = delete; // stop default private: void init(FWViewContextMenuHandlerBase::MenuEntryAdder &, const FWModelId &id) override; FWEveView *m_view; }; #endif