diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-04-26 23:55:41 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-04-27 03:17:04 +0100 |
| commit | 25aec3ac8ce65ed224f025f8f6dfef73780577a4 (patch) | |
| tree | 9fa63de1670bd2f535f3bc237800fc6b7a81f646 /src/helpers | |
| parent | f94264928a8ab4da8759d4ded25a46af44451d38 (diff) | |
pointer-constraints: move to new impl
Diffstat (limited to 'src/helpers')
| -rw-r--r-- | src/helpers/Region.cpp | 2 | ||||
| -rw-r--r-- | src/helpers/Region.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/Region.cpp b/src/helpers/Region.cpp index 502bc198..bcbf672d 100644 --- a/src/helpers/Region.cpp +++ b/src/helpers/Region.cpp @@ -8,7 +8,7 @@ CRegion::CRegion() { pixman_region32_init(&m_rRegion); } -CRegion::CRegion(pixman_region32_t* ref) { +CRegion::CRegion(const pixman_region32_t* const ref) { pixman_region32_init(&m_rRegion); pixman_region32_copy(&m_rRegion, ref); } diff --git a/src/helpers/Region.hpp b/src/helpers/Region.hpp index 7ae334f7..27f460f4 100644 --- a/src/helpers/Region.hpp +++ b/src/helpers/Region.hpp @@ -11,7 +11,7 @@ class CRegion { /* Create an empty region */ CRegion(); /* Create from a reference. Copies, does not own. */ - CRegion(pixman_region32_t* ref); + CRegion(const pixman_region32_t* const ref); /* Create from a box */ CRegion(double x, double y, double w, double h); /* Create from a wlr_box */ |
