Fix build on Linux
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
//
|
||||
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <variant>
|
||||
|
@@ -3,6 +3,7 @@
|
||||
//
|
||||
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
@@ -192,8 +193,7 @@ private:
|
||||
{
|
||||
if (std::holds_alternative<Register>(dest)) {
|
||||
registers_[ // NOLINT(cppcoreguidelines-pro-bounds-constant-array-index)
|
||||
static_cast<unsigned>(std::get<Register>(dest))] =
|
||||
value;
|
||||
static_cast<unsigned>(std::get<Register>(dest))] = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -3,6 +3,7 @@
|
||||
//
|
||||
|
||||
#include <iostream>
|
||||
#include <numeric>
|
||||
#include <regex>
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
@@ -3,6 +3,7 @@
|
||||
//
|
||||
|
||||
#include <iostream>
|
||||
#include <numeric>
|
||||
#include <regex>
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
Reference in New Issue
Block a user