make APFloat::toString be const.
[oota-llvm.git] / include / llvm / ADT / APFloat.h
index 861b7b99e9c32b5b774569fa24880cfc4fb3a25c..3cccc81472973873d3215d281f05382d33c16feb 100644 (file)
@@ -344,7 +344,7 @@ namespace llvm {
     /// 1.01E-2              4             1       1.01E-2
     void toString(SmallVectorImpl<char> &Str,
                   unsigned FormatPrecision = 0,
-                  unsigned FormatMaxPadding = 3);
+                  unsigned FormatMaxPadding = 3) const;
 
   private: