Made FileInputStream non copyable
This commit is contained in:
parent
4992243857
commit
075d7b3b50
@ -29,8 +29,9 @@
|
||||
// Headers
|
||||
////////////////////////////////////////////////////////////
|
||||
#include <SFML/Config.hpp>
|
||||
#include <SFML/System/InputStream.hpp>
|
||||
#include <SFML/System/Export.hpp>
|
||||
#include <SFML/System/InputStream.hpp>
|
||||
#include <SFML/System/NonCopyable.hpp>
|
||||
#include <cstdio>
|
||||
#include <string>
|
||||
|
||||
@ -51,7 +52,7 @@ namespace sf
|
||||
/// \brief Implementation of input stream based on a file
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
class SFML_SYSTEM_API FileInputStream : public InputStream
|
||||
class SFML_SYSTEM_API FileInputStream : public InputStream, NonCopyable
|
||||
{
|
||||
public:
|
||||
////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user