diff --git a/BaseLib/IO/Writer.cpp b/BaseLib/IO/Writer.cpp
index 82cbf086a2ab5f6375653acef632af84637adc8e..7c5c375c6e359326b2d2ec11aaf15e473a45324b 100644
--- a/BaseLib/IO/Writer.cpp
+++ b/BaseLib/IO/Writer.cpp
@@ -70,11 +70,5 @@ void Writer::setPrecision(unsigned int precision)
 {
     _out.precision(precision);
 }
-
-void Writer::setFormat(std::ios_base::fmtflags flags)
-{
-    _out.setf(flags);
-}
-
-} // namespace IO
-} // namespace BaseLib
+}  // namespace IO
+}  // namespace BaseLib
diff --git a/BaseLib/IO/Writer.h b/BaseLib/IO/Writer.h
index 47f6f7e5f1fe6844ae5204595ece8ad811297dee..e556863b4af32547144ec6b63081bfeda36f74cf 100644
--- a/BaseLib/IO/Writer.h
+++ b/BaseLib/IO/Writer.h
@@ -43,9 +43,6 @@ public:
     /// @brief Sets the decimal precision.
     void setPrecision(unsigned int precision);
 
-    /// @brief Sets the format (either ios::scientific or ios::fixed);
-    void setFormat(std::ios_base::fmtflags flags);
-
 protected:
     /// @brief Writes the object to the internal stream.
     /// This method must be implemented by a subclass.