summaryrefslogtreecommitdiffstats
path: root/src/CommandOutput.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-11 21:51:56 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-11 21:51:56 +0100
commita19f5fc484648d226899667410aeb82de354c714 (patch)
treebf88681c224207a25eaf7b90adcb479b05c3fff4 /src/CommandOutput.h
parentFixed format errors in protocol (diff)
downloadcuberite-a19f5fc484648d226899667410aeb82de354c714.tar
cuberite-a19f5fc484648d226899667410aeb82de354c714.tar.gz
cuberite-a19f5fc484648d226899667410aeb82de354c714.tar.bz2
cuberite-a19f5fc484648d226899667410aeb82de354c714.tar.lz
cuberite-a19f5fc484648d226899667410aeb82de354c714.tar.xz
cuberite-a19f5fc484648d226899667410aeb82de354c714.tar.zst
cuberite-a19f5fc484648d226899667410aeb82de354c714.zip
Diffstat (limited to '')
-rw-r--r--src/CommandOutput.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CommandOutput.h b/src/CommandOutput.h
index 3763d625f..81d9ddb84 100644
--- a/src/CommandOutput.h
+++ b/src/CommandOutput.h
@@ -17,7 +17,7 @@ public:
virtual ~cCommandOutputCallback() {}; // Force a virtual destructor in subclasses
/// Syntax sugar function, calls Out() with Printf()-ed parameters; appends a "\n"
- void Out(const char * a_Fmt, ...);
+ void Out(const char * a_Fmt, ...) FORMATSTRING(2,3);
/// Called when the command wants to output anything; may be called multiple times
virtual void Out(const AString & a_Text) = 0;