Add copy constructor and operator=.

This commit is contained in:
castano
2008-02-03 07:34:32 +00:00
parent 3b24951e93
commit 79d305008a
2 changed files with 21 additions and 2 deletions

View File

@ -13,7 +13,6 @@ namespace nv
/// 32 bit RGBA image.
class NVIMAGE_CLASS Image
{
NV_FORBID_COPY(Image);
public:
enum Format
@ -23,8 +22,12 @@ namespace nv
};
Image();
Image(const Image & img);
~Image();
const Image & operator=(const Image & img);
void allocate(uint w, uint h);
bool load(const char * name);