auto for constexpr was added
This commit is contained in:
@@ -16,9 +16,9 @@ constexpr auto PID = 0x05df;
|
||||
namespace
|
||||
{
|
||||
|
||||
constexpr char WorkMode = 0;
|
||||
constexpr char Bitrate = 2;
|
||||
constexpr char Repeats = 2;
|
||||
constexpr auto WorkMode = 0;
|
||||
constexpr auto Bitrate = 2;
|
||||
constexpr auto Repeats = 2;
|
||||
|
||||
constexpr auto Mode = (Repeats << 5 | Bitrate << 3 | WorkMode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user