aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcathook <b01902109@csie.ntu.edu.tw>2014-04-26 15:14:22 +0800
committercathook <b01902109@csie.ntu.edu.tw>2014-04-26 15:14:22 +0800
commit8c04f61b469eebdb536f887053e93bf63c19f06f (patch)
tree43c8c80d9a87dba27f59089fc9b2603f975965fc
parentbeb18eec8ace10f35c086d135119fcc75c6fd443 (diff)
downloadmeow-8c04f61b469eebdb536f887053e93bf63c19f06f.tar
meow-8c04f61b469eebdb536f887053e93bf63c19f06f.tar.gz
meow-8c04f61b469eebdb536f887053e93bf63c19f06f.tar.bz2
meow-8c04f61b469eebdb536f887053e93bf63c19f06f.tar.lz
meow-8c04f61b469eebdb536f887053e93bf63c19f06f.tar.xz
meow-8c04f61b469eebdb536f887053e93bf63c19f06f.tar.zst
meow-8c04f61b469eebdb536f887053e93bf63c19f06f.zip
clear warning
-rw-r--r--README.asciidoc5
-rw-r--r--README.html9
-rw-r--r--meowpp/utility.h5
3 files changed, 9 insertions, 10 deletions
diff --git a/README.asciidoc b/README.asciidoc
index dd68f9b..31cf03c 100644
--- a/README.asciidoc
+++ b/README.asciidoc
@@ -54,9 +54,8 @@
|stringPrintf |(char const * `fmt`, ...) | std::string
|Format print to C++ string and return it
|stringReplace |(std::string `str`, +
-
-std::string const& `from`, +
-
+std::string const&
+`from`, +
std::string const& `to`) | std::string
|Return a string like `str`, but all `from` be replaced by `to`
|cstringEndWith |(char const* `str`, +
diff --git a/README.html b/README.html
index dad505a..834466e 100644
--- a/README.html
+++ b/README.html
@@ -849,9 +849,10 @@ width:100%;
</tr>
<tr>
<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong>stringReplace</strong></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">(std::string <span class="monospaced">str</span>,<br></p>
-<p class="tableblock">std::string const&amp; <span class="monospaced">from</span>,<br></p>
-<p class="tableblock">std::string const&amp; <span class="monospaced">to</span>)</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">(std::string <span class="monospaced">str</span>,<br>
+std::string const&amp;
+<span class="monospaced">from</span>,<br>
+std::string const&amp; <span class="monospaced">to</span>)</p></td>
<td class="tableblock halign-left valign-top" ><p class="tableblock">std::string</p></td>
<td class="tableblock halign-left valign-top" ><p class="tableblock">Return a string like <span class="monospaced">str</span>, but all <span class="monospaced">from</span> be replaced by <span class="monospaced">to</span></p></td>
</tr>
@@ -2994,7 +2995,7 @@ E-Mail: cat.hook31894 ~在~ gmail.com
<div id="footnotes"><hr></div>
<div id="footer">
<div id="footer-text">
-Last updated 2014-04-25 02:30:36 CST
+Last updated 2014-04-26 15:13:32 CST
</div>
</div>
</body>
diff --git a/meowpp/utility.h b/meowpp/utility.h
index 9e59470..12909e9 100644
--- a/meowpp/utility.h
+++ b/meowpp/utility.h
@@ -50,9 +50,8 @@ namespace meow{
//# |Format print to C++ string and return it
- //# |stringReplace |(std::string `str`,\
- //# std::string const& `from`,\
- //# std::string const& `to`) | std::string
+ //# |stringReplace |(std::string `str`,\std::string const&
+ //# `from`,\std::string const& `to`) | std::string
//# |Return a string like `str`, but all `from` be replaced by `to`