[prev in list] [next in list] [prev in thread] [next in thread]
List: bzflag-commits
Subject: SF.net SVN: bzflag: [16646] trunk/bzflag/src/bzrobots
From: bryjen () users ! sourceforge ! net
Date: 2008-02-26 3:17:27
Message-ID: E1JTqJr-0003Mq-Ea () sc8-pr-svn2 ! sourceforge ! net
[Download RAW message or body]
Revision: 16646
http://bzflag.svn.sourceforge.net/bzflag/?rev=16646&view=rev
Author: bryjen
Date: 2008-02-25 19:17:26 -0800 (Mon, 25 Feb 2008)
Log Message:
-----------
gcc complained 'class has virtual functions but non-virtual destructor'
Modified Paths:
--------------
trunk/bzflag/src/bzrobots/Shot.cxx
trunk/bzflag/src/bzrobots/Shot.h
Modified: trunk/bzflag/src/bzrobots/Shot.cxx
===================================================================
--- trunk/bzflag/src/bzrobots/Shot.cxx 2008-02-26 02:26:41 UTC (rev 16645)
+++ trunk/bzflag/src/bzrobots/Shot.cxx 2008-02-26 03:17:26 UTC (rev 16646)
@@ -34,6 +34,8 @@
id = ((uint64_t)_plr << 16) + _id;
}
+Shot::~Shot() {}
+
PlayerId Shot::getPlayerId(void) const
{
return id >> 16;
Modified: trunk/bzflag/src/bzrobots/Shot.h
===================================================================
--- trunk/bzflag/src/bzrobots/Shot.h 2008-02-26 02:26:41 UTC (rev 16645)
+++ trunk/bzflag/src/bzrobots/Shot.h 2008-02-26 03:17:26 UTC (rev 16646)
@@ -29,6 +29,7 @@
Shot();
Shot(uint64_t _id);
Shot(PlayerId _plr, uint16_t _sid);
+ virtual ~Shot();
PlayerId getPlayerId(void) const;
uint16_t getShotId(void) const;
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BZFlag-commits mailing list
BZFlag-commits@lists.SourceForge.net
https://lists.SourceForge.net/lists/listinfo/bzflag-commits
irc: #BZFlag @ irc.freenode.net
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic