mirror of
https://github.com/TomHarte/CLK.git
synced 2026-01-22 08:26:48 +00:00
Ensure I'm using <optional> everywhere I should.
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
#include <optional>
|
||||
#include <unordered_set>
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include "Outputs/Log.hpp"
|
||||
|
||||
#include <array>
|
||||
#include <optional>
|
||||
|
||||
namespace Archimedes {
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <optional>
|
||||
#include <vector>
|
||||
|
||||
using namespace Commodore;
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
#include <optional>
|
||||
|
||||
namespace {
|
||||
using Logger = Log::Logger<Log::Source::Vic20>;
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <cstdlib>
|
||||
#include <iomanip>
|
||||
#include <locale>
|
||||
#include <optional>
|
||||
#include <sstream>
|
||||
|
||||
using namespace ROM;
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#import "NSData+StdVector.h"
|
||||
#import "NSData+CRC32.h"
|
||||
|
||||
#include <optional>
|
||||
#include <string>
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
#include <cstdarg>
|
||||
#include <optional>
|
||||
|
||||
using namespace Outputs::CRT;
|
||||
using Logger = Log::Logger<Log::Source::CRT>;
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <chrono>
|
||||
#include <list>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
#include "ZX8081.hpp"
|
||||
|
||||
#include <optional>
|
||||
|
||||
using namespace Storage::Data::ZX8081;
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "Numeric/BitSpread.hpp"
|
||||
|
||||
#include <cassert>
|
||||
#include <set>
|
||||
#include <optional>
|
||||
|
||||
using namespace Storage::Encodings::MFM;
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
#include <optional>
|
||||
|
||||
using namespace Storage::Disk;
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
#include "Storage/Data/ZX8081.hpp"
|
||||
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <cstdint>
|
||||
|
||||
Reference in New Issue
Block a user