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