| 138 | { |
| 139 | public: |
| 140 | RegisteredPlugin() : Plugin(NAME) |
| 141 | { |
| 142 | const Registration& dummy = registration; |
| 143 | do { (void)(dummy); } while (false); // silence unused variable warning |
| 144 | } |
| 145 | private: |
| 146 | static unique_ptr<Plugin> Create(Menu* menu) { return make_unique<T>(menu); } |
| 147 | static Registration registration; |
nothing calls this directly
no outgoing calls
no test coverage detected