mirror of
https://github.com/hyprwm/hyprgraphics.git
synced 2024-12-26 21:19:48 +01:00
image: make non-copyable
This commit is contained in:
parent
cfefd47632
commit
d09dfd1bb5
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,10 @@ namespace Hyprgraphics {
|
||||||
CImage(const std::string& path);
|
CImage(const std::string& path);
|
||||||
~CImage();
|
~CImage();
|
||||||
|
|
||||||
|
CImage(const CImage&) = delete;
|
||||||
|
CImage& operator=(const CImage&) = delete;
|
||||||
|
|
||||||
|
//
|
||||||
bool success();
|
bool success();
|
||||||
bool hasAlpha();
|
bool hasAlpha();
|
||||||
std::string getError();
|
std::string getError();
|
||||||
|
|
Loading…
Reference in a new issue