monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] net.venge.monotone.colored-diff: 504f186a6e1916


From: code
Subject: [Monotone-commits-diffs] net.venge.monotone.colored-diff: 504f186a6e19165de67508dfd5dbae074a59ad3f
Date: Wed, 17 Aug 2011 11:42:43 +0200 (CEST)

revision:            504f186a6e19165de67508dfd5dbae074a59ad3f
date:                2011-04-14T22:46:09
author:              Richard Hopkins <address@hidden>
branch:              net.venge.monotone.colored-diff
changelog:
Overload for colorizer::output to take std::string

Related to the change in 373ced57dcd94a78e29e755d6318b22732bca21c which
details with "external" instead of "std::string".

manifest:
format_version "1"

new_manifest [2f26d9e8b38893d17c316d3e2a06abe8de32c40e]

old_revision [5c2df3578dc603af9a7ee2f5a487e1bb220fb018]

patch "src/colorizer.cc"
 from [f80423c70b22a0f78074122462bf398524f28f9f]
   to [8937cd9df0bea4fd23772ebfd03bc8a3825a3aff]

patch "src/colorizer.hh"
 from [f0b82960a0729b4978827081e15470fc0050e057]
   to [9208d8f8070dfe5dd2a4c9bc83aed6ba4ee810fc]
============================================================
--- src/colorizer.cc	f80423c70b22a0f78074122462bf398524f28f9f
+++ src/colorizer.cc	8937cd9df0bea4fd23772ebfd03bc8a3825a3aff
@@ -187,6 +187,11 @@ void colorizer::output(ostream & os, ext
 {
   os << in;
 }
+
+void colorizer::output(ostream & os, string const & in)
+{
+  os << in;
+}
 // Local Variables:
 // mode: C++
 // fill-column: 76
============================================================
--- src/colorizer.hh	f0b82960a0729b4978827081e15470fc0050e057
+++ src/colorizer.hh	9208d8f8070dfe5dd2a4c9bc83aed6ba4ee810fc
@@ -42,6 +42,9 @@ struct colorizer {
 
   static void
   output(std::ostream & os, external const & in);
+
+  static void
+  output(std::ostream & os, std::string const & in);
 private:
   std::map<purpose, boost::tuple<std::string, std::string, std::string> >
     colormap;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]