summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/format.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-01-25 18:09:29 +0100
committerRobert Vollmert <rvollmert@gmx.net>2010-01-25 22:19:56 +0100
commit5cc2e6f28401a08642e20152e35333a41e34aace (patch)
tree00d68a15425eff8b2ed188a2e4258c20deb57f72 /crawl-ref/source/format.h
parent46eeaea3c80dec4e50adc5b0a7d5dfae1e8ba0d3 (diff)
downloadcrawl-ref-5cc2e6f28401a08642e20152e35333a41e34aace.tar.gz
crawl-ref-5cc2e6f28401a08642e20152e35333a41e34aace.zip
Add formatted_string::empty().
Diffstat (limited to 'crawl-ref/source/format.h')
-rw-r--r--crawl-ref/source/format.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/format.h b/crawl-ref/source/format.h
index df5a1d182c..51aeb4e109 100644
--- a/crawl-ref/source/format.h
+++ b/crawl-ref/source/format.h
@@ -40,6 +40,7 @@ public:
formatted_string substr(size_t index, size_t length=std::string::npos) const;
void clear();
+ bool empty();
void swap(formatted_string& other);