1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-02-16 18:30:32 +00:00

Adds missing includes and gets more explicit about exceptions.

This commit is contained in:
Thomas Harte 2019-01-25 20:19:50 -05:00 committed by Thomas Harte
parent 74e1a9a621
commit 68d6feaa03
2 changed files with 5 additions and 1 deletions

View File

@ -7,8 +7,12 @@
//
#include "ScanTarget.hpp"
#include "Primitives/Rectangle.hpp"
#include <cassert>
#include <cstring>
using namespace Outputs::Display::OpenGL;
namespace {

View File

@ -77,7 +77,7 @@ class ScanTarget: public Outputs::Display::ScanTarget {
struct PointerSet {
// This constructor is here to appease GCC's interpretation of
// an ambiguity in the C++ standard; cf. https://stackoverflow.com/questions/17430377
PointerSet() {}
PointerSet() noexcept {}
// The sizes below might be less hassle as something more natural like ints,
// but squeezing this struct into 64 bits makes the std::atomics more likely