mirror of
https://github.com/hyprwm/hyprgraphics.git
synced 2024-12-25 19:49:49 +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();
|
||||
|
||||
CImage(const CImage&) = delete;
|
||||
CImage& operator=(const CImage&) = delete;
|
||||
|
||||
//
|
||||
bool success();
|
||||
bool hasAlpha();
|
||||
std::string getError();
|
||||
|
|
Loading…
Reference in a new issue