Fixed return value becoming undefined

pull/41/head
Hieromon Ikasamo 6 years ago
parent 7270f93868
commit 2281626efc
  1. 2
      src/AutoConnectElementBasis.h

@ -131,7 +131,7 @@ class AutoConnectRadioBasis : virtual public AutoConnectElementBasis {
const String& at(const std::size_t n) const { return _values.at(n); } const String& at(const std::size_t n) const { return _values.at(n); }
void check(const String& value); void check(const String& value);
void empty(const size_t reserve = 0); void empty(const size_t reserve = 0);
const String& value(void) { return checked ? _values.at(checked - 1) : String(""); } const String& value(void) const;
String label; /**< A label for a subsequent radio buttons */ String label; /**< A label for a subsequent radio buttons */
ACArrange_t order; /**< layout order */ ACArrange_t order; /**< layout order */

Loading…
Cancel
Save