Added a NonCopyable mixin-module which prohibits any attempt to copy instances of classes that includes this module.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1737 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
1a7e7a30be
commit
cd04d29584
3 changed files with 97 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
|||
#include "Clock.hpp"
|
||||
#include "Vector2.hpp"
|
||||
#include "Vector3.hpp"
|
||||
#include "NonCopyable.hpp"
|
||||
|
||||
VALUE globalSFMLNamespace;
|
||||
|
||||
|
@ -46,4 +47,5 @@ void Init_system( void )
|
|||
Init_Clock();
|
||||
Init_Vector2();
|
||||
Init_Vector3();
|
||||
Init_NonCopyable();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue