mirror of
https://github.com/hyprwm/hyprgraphics.git
synced 2026-05-09 04:48:04 +02:00
core: add missing #include <span> (#40)
Some checks failed
Build & Test (Arch) / Arch: Build and Test (gcc) (push) Has been cancelled
Build & Test (Arch) / Arch: Build and Test (clang) (push) Has been cancelled
Build & Test / nix (hyprgraphics) (push) Has been cancelled
Build & Test / nix (hyprgraphics-with-tests) (push) Has been cancelled
Some checks failed
Build & Test (Arch) / Arch: Build and Test (gcc) (push) Has been cancelled
Build & Test (Arch) / Arch: Build and Test (clang) (push) Has been cancelled
Build & Test / nix (hyprgraphics) (push) Has been cancelled
Build & Test / nix (hyprgraphics-with-tests) (push) Has been cancelled
Without it, build fails with the following error: error: no template named 'span' in namespace 'std'
This commit is contained in:
parent
4af02a3925
commit
f114ea3d97
2 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <span>
|
||||
#include <hyprutils/math/Vector2D.hpp>
|
||||
#include "./AsyncResource.hpp"
|
||||
#include "../../color/Color.hpp"
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
#include <cairo/cairo.h>
|
||||
#include <string>
|
||||
#include <expected>
|
||||
#include <span>
|
||||
#include <png.h>
|
||||
#include <hyprutils/math/Vector2D.hpp>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue