Support: Write ScaledNumbers::getAdjusted()
[oota-llvm.git] / include / llvm / Support / raw_os_ostream.h
index e0978b238e31c25fd1818b52914c122907951871..04cf3b6202c439dadaaf82e07cc7c15eacb25006 100644 (file)
@@ -24,14 +24,14 @@ namespace llvm {
 /// use the underlying stream to detect errors.
 class raw_os_ostream : public raw_ostream {
   std::ostream &OS;
-  
+
   /// write_impl - See raw_ostream::write_impl.
-  virtual void write_impl(const char *Ptr, size_t Size);
-  
+  void write_impl(const char *Ptr, size_t Size) override;
+
   /// current_pos - Return the current position within the stream, not
   /// counting the bytes currently in the buffer.
-  virtual uint64_t current_pos();
-  
+  uint64_t current_pos() const override;
+
 public:
   raw_os_ostream(std::ostream &O) : OS(O) {}
   ~raw_os_ostream();