]> git.lyx.org Git - features.git/blobdiff - src/support/FileName.h
A first batch of potential bugs spotted by llvm/clang
[features.git] / src / support / FileName.h
index 83d9e946f26898c9d092e87a49471bdeb6f1c072..fe15163889ec1214fa1299b6692f3a7170ead170 100644 (file)
@@ -55,8 +55,8 @@ public:
         * \param filename the file in question. Must have an absolute path.
         * Encoding is always UTF-8.
         */
-       virtual void set(std::string const & filename);
-       virtual void set(FileName const & fn, std::string const & suffix);
+       void set(std::string const & filename);
+       void set(FileName const & fn, std::string const & suffix);
        virtual void erase();
        /// Is this filename empty?
        bool empty() const;
@@ -253,7 +253,7 @@ public:
         *  \param buffer_path if \c filename has a relative path, generate
         *  the absolute path using this.
         */
-       virtual void set(std::string const & filename, std::string const & buffer_path);
+       void set(std::string const & filename, std::string const & buffer_path);
        ///
        void erase();
        ///