mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Made FileInputStream non copyable
This commit is contained in:
parent
4992243857
commit
075d7b3b50
@ -29,8 +29,9 @@
|
|||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#include <SFML/Config.hpp>
|
#include <SFML/Config.hpp>
|
||||||
#include <SFML/System/InputStream.hpp>
|
|
||||||
#include <SFML/System/Export.hpp>
|
#include <SFML/System/Export.hpp>
|
||||||
|
#include <SFML/System/InputStream.hpp>
|
||||||
|
#include <SFML/System/NonCopyable.hpp>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
@ -51,7 +52,7 @@ namespace sf
|
|||||||
/// \brief Implementation of input stream based on a file
|
/// \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:
|
public:
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user