Merge pull request #636 from CapeLeidokos/pr_leftover_comment_removed

Removed a leftover comment
pull/645/head
Jesse Vincent 6 years ago committed by GitHub
commit b07c7d5562
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -66,13 +66,6 @@ kaleidoscope::plugin::LEDMode *LEDModeManager::getLEDMode(uint8_t mode_id) {
// to enable the possible future introduction of a virtual // to enable the possible future introduction of a virtual
// destructor for class LEDMode. // destructor for class LEDMode.
// //
// A virtual destructor would enable LEDModes to do any types of
// cleanup on destruction. But as it's a virtual method,
// introducing such a destructor would create additional
// entries in vtables and mean higher PROGMEM consumption.
// If it will be introduced in future versions of Kaleidoscope
// uncomment the commented lines below.
//
if (current_led_mode_dynamic) { if (current_led_mode_dynamic) {
cur_led_mode->~LEDMode(); cur_led_mode->~LEDMode();
} }

Loading…
Cancel
Save