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:
parent
74e1a9a621
commit
68d6feaa03
@ -7,8 +7,12 @@
|
||||
//
|
||||
|
||||
#include "ScanTarget.hpp"
|
||||
|
||||
#include "Primitives/Rectangle.hpp"
|
||||
|
||||
#include <cassert>
|
||||
#include <cstring>
|
||||
|
||||
using namespace Outputs::Display::OpenGL;
|
||||
|
||||
namespace {
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user