Changed macro for disallowing copy-ctor and =operator into an inheritable class. Removed IrPointer.ini (no longer used)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6421 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Jordan Woyak
2010-11-15 05:29:10 +00:00
parent b4ffd640b7
commit 73ed235fd1
10 changed files with 17 additions and 211 deletions

View File

@ -88,7 +88,7 @@ struct PortableVertexDeclaration
// Note that this class can't just invent arbitrary vertex formats out of its input -
// all the data loading code must always be made compatible.
class NativeVertexFormat
class NativeVertexFormat : NonCopyable
{
public:
virtual ~NativeVertexFormat() {}
@ -108,9 +108,6 @@ public:
protected:
// Let subclasses construct.
NativeVertexFormat() {}
private:
DISALLOW_COPY_AND_ASSIGN(NativeVertexFormat);
};
#endif // _NATIVEVERTEXFORMAT_H

View File

@ -76,7 +76,7 @@ private:
}
};
class VertexLoader : public Gen::XCodeBlock
class VertexLoader : public Gen::XCodeBlock, NonCopyable
{
public:
VertexLoader(const TVtxDesc &vtx_desc, const VAT &vtx_attr);
@ -124,8 +124,6 @@ private:
void WriteGetVariable(int bits, Gen::OpArg dest, void *address);
void WriteSetVariable(int bits, void *address, Gen::OpArg dest);
DISALLOW_COPY_AND_ASSIGN(VertexLoader);
};
#endif