aboutsummaryrefslogtreecommitdiff
path: root/primedev/server/serverpresence.h
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2024-03-04 00:12:05 +0000
committerGitHub <noreply@github.com>2024-03-04 01:12:05 +0100
commit85a2fb9c56c1942958c09c8aeafd14ddefb6e0c3 (patch)
tree146142afc5d0e9272efbdca08108e4674a32f764 /primedev/server/serverpresence.h
parent4b0726d97788edff5d83476cb52057f409d623af (diff)
downloadNorthstarLauncher-1.24.3.tar.gz
NorthstarLauncher-1.24.3.zip
Address C4100 compiler warnings (unused var) (#648)v1.24.4-rc1v1.24.3-rc3v1.24.3-rc2v1.24.3
Adds and uses a macro to avoid the warning
Diffstat (limited to 'primedev/server/serverpresence.h')
-rw-r--r--primedev/server/serverpresence.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/primedev/server/serverpresence.h b/primedev/server/serverpresence.h
index c644cc37..94ecfe6a 100644
--- a/primedev/server/serverpresence.h
+++ b/primedev/server/serverpresence.h
@@ -45,10 +45,10 @@ public:
class ServerPresenceReporter
{
public:
- virtual void CreatePresence(const ServerPresence* pServerPresence) {}
- virtual void ReportPresence(const ServerPresence* pServerPresence) {}
- virtual void DestroyPresence(const ServerPresence* pServerPresence) {}
- virtual void RunFrame(double flCurrentTime, const ServerPresence* pServerPresence) {}
+ virtual void CreatePresence(const ServerPresence* /*pServerPresence*/) {}
+ virtual void ReportPresence(const ServerPresence* /*pServerPresence*/) {}
+ virtual void DestroyPresence(const ServerPresence* /*pServerPresence*/) {}
+ virtual void RunFrame(double /*flCurrentTime*/, const ServerPresence* /*pServerPresence*/) {}
};
class ServerPresenceManager