From 075d7b3b50a24d34cd1712adf9b40cc8e81ad977 Mon Sep 17 00:00:00 2001 From: Marco Antognini Date: Mon, 13 Apr 2015 10:15:20 +0200 Subject: [PATCH] Made FileInputStream non copyable --- include/SFML/System/FileInputStream.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/SFML/System/FileInputStream.hpp b/include/SFML/System/FileInputStream.hpp index fd7a9d1f..1afa9391 100644 --- a/include/SFML/System/FileInputStream.hpp +++ b/include/SFML/System/FileInputStream.hpp @@ -29,8 +29,9 @@ // Headers //////////////////////////////////////////////////////////// #include -#include #include +#include +#include #include #include @@ -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: ////////////////////////////////////////////////////////////