[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [knavalbattle] src/ai: Mark override.
From:       Frederik Schwarzer <schwarzerf () gmail ! com>
Date:       2016-01-27 10:48:19
Message-ID: E1aONe7-0000cE-P4 () scm ! kde ! org
[Download RAW message or body]

Git commit 02e752207ed2da5dcab84edbe7e1fae06c11ed65 by Frederik Schwarzer.
Committed on 27/01/2016 at 10:45.
Pushed by schwarzer into branch 'master'.

Mark override.

M  +1    -1    src/ai/smartai.cpp

http://commits.kde.org/knavalbattle/02e752207ed2da5dcab84edbe7e1fae06c11ed65

diff --git a/src/ai/smartai.cpp b/src/ai/smartai.cpp
index 1bb327d..af0f1a5 100644
--- a/src/ai/smartai.cpp
+++ b/src/ai/smartai.cpp
@@ -118,7 +118,7 @@ public:
         }
     }
 =

-    Strategy* notify(const Coord& c, const HitInfo& info)
+    Strategy* notify(const Coord& c, const HitInfo& info) override
     {
         if (info.shipDestroyed) {
             // success!
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic