Made FileInputStream non copyable

This commit is contained in:
Marco Antognini 2015-04-13 10:15:20 +02:00 committed by Lukas Dürrenberger
parent 4992243857
commit 075d7b3b50

View File

@ -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:
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////