]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/file.h
Disallow closing stuff before destruction
[libs/core.git] / source / io / file.h
index ee83554cff806bc4ba47d0e1383cbcb426b5f153..cd547b37545cb23b6f0c3842c512a7cf13847905 100644 (file)
@@ -43,10 +43,6 @@ public:
        File(const std::string &, Mode = M_READ, CreateMode = CreateMode(C_CREATE+C_TRUNCATE));
        virtual ~File();
 
-       /** Closes the file.  Any attempt to access the file after this will cause
-       an exception to be thrown. */
-       void close();
-
        void set_block(bool);
 
 protected: