From 44637154da89028a99920bd6ead5d917d8a894a4 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 1 Apr 2014 22:24:50 -0400 Subject: Require cmake 2.8 and C++11 support --- include/users.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include/users.h') diff --git a/include/users.h b/include/users.h index 73c373938..5a0bb46a9 100644 --- a/include/users.h +++ b/include/users.h @@ -11,8 +11,7 @@ * */ -#ifndef USERS_H -#define USERS_H +#pragma once #include "anope.h" #include "modes.h" @@ -191,7 +190,7 @@ class CoreExport User : public virtual Base, public Extensible, public CommandRe * @param ... any number of parameters */ void SendMessage(BotInfo *source, const char *fmt, ...); - void SendMessage(BotInfo *source, const Anope::string &msg) anope_override; + void SendMessage(BotInfo *source, const Anope::string &msg) override; /** Identify the user to a nick. * updates last_seen, logs the user in, @@ -373,4 +372,3 @@ class CoreExport User : public virtual Base, public Extensible, public CommandRe static void QuitUsers(); }; -#endif // USERS_H -- cgit