In C++11, narrowing conversions as used in SWAP::nvolatToFactoryDefaults() (uint16_t truncated to uint8_t) are malformed within brackets. To allow compiling under C++0x and later, the narrowing conversions should be cast to the smaller type explicitly.
In C++11, narrowing conversions as used in
SWAP::nvolatToFactoryDefaults()
(uint16_t
truncated touint8_t
) are malformed within brackets. To allow compiling under C++0x and later, the narrowing conversions should be cast to the smaller type explicitly.