mirror of
https://github.com/SFML/SFML.git
synced 2024-11-24 20:31:05 +08:00
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