From ec685f4e71424403b322d3971ac68b31821fe7e1 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Sun, 25 Mar 2007 08:58:25 +0000 Subject: Cleaned up hiscores xlog format (suggested by Shawn Moore). Breaks compatbility with older xlogfiles. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1093 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/libutil.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crawl-ref/source/libutil.h') diff --git a/crawl-ref/source/libutil.h b/crawl-ref/source/libutil.h index 4e5db549b3..c790705b7d 100644 --- a/crawl-ref/source/libutil.h +++ b/crawl-ref/source/libutil.h @@ -33,6 +33,10 @@ std::string strip_filename_unsafe_chars(const std::string &s); std::string make_stringf(const char *format, ...); +std::string replace_all(std::string s, + const std::string &tofind, + const std::string &replacement); + std::string replace_all_of(std::string s, const std::string &tofind, const std::string &replacement); -- cgit v1.2.3-54-g00ecf