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

Without it, build fails with the following error: error: no template
named 'span' in namespace 'std'
This commit is contained in:
Hiroki Tagato 2026-01-05 20:02:58 +09:00 committed by GitHub
parent 4af02a3925
commit f114ea3d97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -1,6 +1,7 @@
#pragma once
#include <string>
#include <span>
#include <hyprutils/math/Vector2D.hpp>
#include "./AsyncResource.hpp"
#include "../../color/Color.hpp"

View file

@ -3,6 +3,7 @@
#include <cairo/cairo.h>
#include <string>
#include <expected>
#include <span>
#include <png.h>
#include <hyprutils/math/Vector2D.hpp>