[colobot] 226/377: Add missing override keywords
Didier Raboud
odyx at moszumanska.debian.org
Wed Mar 30 13:34:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
odyx pushed a commit to branch debian/master
in repository colobot.
commit 344cda4ae63ce61d63c0cad174eb4b3462f03161
Author: krzys-h <krzys_h at interia.pl>
Date: Sat Jan 23 20:49:01 2016 +0100
Add missing override keywords
---
src/CBot/CBotExternalCall.h | 4 ++--
src/CBot/CBotInstr/CBotBreak.h | 4 ++--
src/CBot/CBotInstr/CBotCase.h | 4 ++--
src/CBot/CBotInstr/CBotCatch.h | 4 ++--
src/CBot/CBotInstr/CBotDefArray.h | 6 +++---
src/CBot/CBotInstr/CBotDefBoolean.h | 4 ++--
src/CBot/CBotInstr/CBotDefClass.h | 4 ++--
src/CBot/CBotInstr/CBotDefFloat.h | 4 ++--
src/CBot/CBotInstr/CBotDefInt.h | 4 ++--
src/CBot/CBotInstr/CBotDefString.h | 4 ++--
src/CBot/CBotInstr/CBotDo.h | 6 +++---
src/CBot/CBotInstr/CBotEmpty.h | 2 +-
src/CBot/CBotInstr/CBotExprLitBool.h | 2 +-
src/CBot/CBotInstr/CBotExprLitNan.h | 4 ++--
src/CBot/CBotInstr/CBotExprLitNull.h | 4 ++--
src/CBot/CBotInstr/CBotExprLitNum.h | 4 ++--
src/CBot/CBotInstr/CBotExprLitString.h | 4 ++--
src/CBot/CBotInstr/CBotExprUnaire.h | 4 ++--
src/CBot/CBotInstr/CBotExprVar.h | 4 ++--
src/CBot/CBotInstr/CBotExpression.h | 4 ++--
src/CBot/CBotInstr/CBotFieldExpr.h | 4 ++--
src/CBot/CBotInstr/CBotFor.h | 6 +++---
src/CBot/CBotInstr/CBotFunction.h | 6 +++---
src/CBot/CBotInstr/CBotIf.h | 4 ++--
src/CBot/CBotInstr/CBotIndexExpr.h | 4 ++--
src/CBot/CBotInstr/CBotInstrCall.h | 6 +++---
src/CBot/CBotInstr/CBotInstrMethode.h | 6 +++---
src/CBot/CBotInstr/CBotLeftExpr.h | 4 ++--
src/CBot/CBotInstr/CBotLeftExprVar.h | 4 ++--
src/CBot/CBotInstr/CBotListArray.h | 4 ++--
src/CBot/CBotInstr/CBotListExpression.h | 4 ++--
src/CBot/CBotInstr/CBotListInstr.h | 4 ++--
src/CBot/CBotInstr/CBotLogicExpr.h | 4 ++--
src/CBot/CBotInstr/CBotNew.h | 6 +++---
src/CBot/CBotInstr/CBotPostIncExpr.h | 4 ++--
src/CBot/CBotInstr/CBotPreIncExpr.h | 4 ++--
src/CBot/CBotInstr/CBotReturn.h | 4 ++--
src/CBot/CBotInstr/CBotSwitch.h | 4 ++--
src/CBot/CBotInstr/CBotThrow.h | 4 ++--
src/CBot/CBotInstr/CBotTry.h | 4 ++--
src/CBot/CBotInstr/CBotTwoOpExpr.h | 6 +++---
src/CBot/CBotInstr/CBotWhile.h | 6 +++---
42 files changed, 91 insertions(+), 91 deletions(-)
diff --git a/src/CBot/CBotExternalCall.h b/src/CBot/CBotExternalCall.h
index d655409..6bc2c41 100644
--- a/src/CBot/CBotExternalCall.h
+++ b/src/CBot/CBotExternalCall.h
@@ -97,8 +97,8 @@ public:
*/
virtual ~CBotExternalCallDefault();
- virtual CBotTypResult Compile(CBotVar* thisVar, CBotVar* args, void* user);
- virtual bool Run(CBotVar* thisVar, CBotStack* pStack);
+ virtual CBotTypResult Compile(CBotVar* thisVar, CBotVar* args, void* user) override;
+ virtual bool Run(CBotVar* thisVar, CBotStack* pStack) override;
private:
RuntimeFunc m_rExec;
diff --git a/src/CBot/CBotInstr/CBotBreak.h b/src/CBot/CBotInstr/CBotBreak.h
index 9733132..2d07831 100644
--- a/src/CBot/CBotInstr/CBotBreak.h
+++ b/src/CBot/CBotInstr/CBotBreak.h
@@ -57,8 +57,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotBreak"; }
- virtual std::string GetDebugData();
+ virtual const std::string GetDebugName() override { return "CBotBreak"; }
+ virtual std::string GetDebugData() override;
private:
//! A label if there is
diff --git a/src/CBot/CBotInstr/CBotCase.h b/src/CBot/CBotInstr/CBotCase.h
index d100a70..1bc1d98 100644
--- a/src/CBot/CBotInstr/CBotCase.h
+++ b/src/CBot/CBotInstr/CBotCase.h
@@ -68,8 +68,8 @@ public:
bool CompCase(CBotStack* &pj, int val) override;
protected:
- virtual const std::string GetDebugName() { return "CBotCase"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotCase"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! Value to compare.
diff --git a/src/CBot/CBotInstr/CBotCatch.h b/src/CBot/CBotInstr/CBotCatch.h
index 96db38a..74c0c6c 100644
--- a/src/CBot/CBotInstr/CBotCatch.h
+++ b/src/CBot/CBotInstr/CBotCatch.h
@@ -73,8 +73,8 @@ public:
void RestoreCondState(CBotStack* &pj, bool bMain);
protected:
- virtual const std::string GetDebugName() { return "CBotCatch"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotCatch"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! Instructions
diff --git a/src/CBot/CBotInstr/CBotDefArray.h b/src/CBot/CBotInstr/CBotDefArray.h
index 826bd92..13de15f 100644
--- a/src/CBot/CBotInstr/CBotDefArray.h
+++ b/src/CBot/CBotInstr/CBotDefArray.h
@@ -64,9 +64,9 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotDefArray"; }
- virtual std::string GetDebugData();
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotDefArray"; }
+ virtual std::string GetDebugData() override;
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! The variables to initialize.
diff --git a/src/CBot/CBotInstr/CBotDefBoolean.h b/src/CBot/CBotInstr/CBotDefBoolean.h
index 298232d..71d4674 100644
--- a/src/CBot/CBotInstr/CBotDefBoolean.h
+++ b/src/CBot/CBotInstr/CBotDefBoolean.h
@@ -58,8 +58,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotDefBoolean"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotDefBoolean"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! Variable to initialise.
diff --git a/src/CBot/CBotInstr/CBotDefClass.h b/src/CBot/CBotInstr/CBotDefClass.h
index 9492f1a..fba9396 100644
--- a/src/CBot/CBotInstr/CBotDefClass.h
+++ b/src/CBot/CBotInstr/CBotDefClass.h
@@ -69,8 +69,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotClassInstr"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotClassInstr"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
diff --git a/src/CBot/CBotInstr/CBotDefFloat.h b/src/CBot/CBotInstr/CBotDefFloat.h
index 3b95917..ea2e34d 100644
--- a/src/CBot/CBotInstr/CBotDefFloat.h
+++ b/src/CBot/CBotInstr/CBotDefFloat.h
@@ -58,8 +58,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotDefFloat"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotDefFloat"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! Variable to initialise.
diff --git a/src/CBot/CBotInstr/CBotDefInt.h b/src/CBot/CBotInstr/CBotDefInt.h
index 7d273cb..f78e2cc 100644
--- a/src/CBot/CBotInstr/CBotDefInt.h
+++ b/src/CBot/CBotInstr/CBotDefInt.h
@@ -58,8 +58,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotDefInt"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotDefInt"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! The variable to initialize.
diff --git a/src/CBot/CBotInstr/CBotDefString.h b/src/CBot/CBotInstr/CBotDefString.h
index f9b7b9c..4952a66 100644
--- a/src/CBot/CBotInstr/CBotDefString.h
+++ b/src/CBot/CBotInstr/CBotDefString.h
@@ -58,8 +58,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotDefString"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotDefString"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! Variable to initialise.
diff --git a/src/CBot/CBotInstr/CBotDo.h b/src/CBot/CBotInstr/CBotDo.h
index 294ad16..1318dc8 100644
--- a/src/CBot/CBotInstr/CBotDo.h
+++ b/src/CBot/CBotInstr/CBotDo.h
@@ -56,9 +56,9 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotDo"; }
- virtual std::string GetDebugData();
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotDo"; }
+ virtual std::string GetDebugData() override;
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! Instruction
diff --git a/src/CBot/CBotInstr/CBotEmpty.h b/src/CBot/CBotInstr/CBotEmpty.h
index 71d91dc..a27b0ad 100644
--- a/src/CBot/CBotInstr/CBotEmpty.h
+++ b/src/CBot/CBotInstr/CBotEmpty.h
@@ -45,7 +45,7 @@ class CBotEmpty : public CBotInstr
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotEmpty"; }
+ virtual const std::string GetDebugName() override { return "CBotEmpty"; }
};
} // namespace CBot
diff --git a/src/CBot/CBotInstr/CBotExprLitBool.h b/src/CBot/CBotInstr/CBotExprLitBool.h
index e7ce670..d460647 100644
--- a/src/CBot/CBotInstr/CBotExprLitBool.h
+++ b/src/CBot/CBotInstr/CBotExprLitBool.h
@@ -56,7 +56,7 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotExprLitBool"; }
+ virtual const std::string GetDebugName() override { return "CBotExprLitBool"; }
};
} // namespace CBot
diff --git a/src/CBot/CBotInstr/CBotExprLitNan.h b/src/CBot/CBotInstr/CBotExprLitNan.h
index b8e4b69..f9bdaed 100644
--- a/src/CBot/CBotInstr/CBotExprLitNan.h
+++ b/src/CBot/CBotInstr/CBotExprLitNan.h
@@ -48,8 +48,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotExprLitNan"; }
- virtual std::string GetDebugData() { return "nan"; }
+ virtual const std::string GetDebugName() override { return "CBotExprLitNan"; }
+ virtual std::string GetDebugData() override { return "nan"; }
};
} // namespace CBot
diff --git a/src/CBot/CBotInstr/CBotExprLitNull.h b/src/CBot/CBotInstr/CBotExprLitNull.h
index 121dd33..1169b06 100644
--- a/src/CBot/CBotInstr/CBotExprLitNull.h
+++ b/src/CBot/CBotInstr/CBotExprLitNull.h
@@ -48,8 +48,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotExprLitNull"; }
- virtual std::string GetDebugData() { return "null"; }
+ virtual const std::string GetDebugName() override { return "CBotExprLitNull"; }
+ virtual std::string GetDebugData() override { return "null"; }
};
} // namespace CBot
diff --git a/src/CBot/CBotInstr/CBotExprLitNum.h b/src/CBot/CBotInstr/CBotExprLitNum.h
index a81e90f..4fd8eff 100644
--- a/src/CBot/CBotInstr/CBotExprLitNum.h
+++ b/src/CBot/CBotInstr/CBotExprLitNum.h
@@ -59,8 +59,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotExprLitNum"; }
- virtual std::string GetDebugData();
+ virtual const std::string GetDebugName() override { return "CBotExprLitNum"; }
+ virtual std::string GetDebugData() override;
private:
//! The type of number.
diff --git a/src/CBot/CBotInstr/CBotExprLitString.h b/src/CBot/CBotInstr/CBotExprLitString.h
index fdda273..4c05d7a 100644
--- a/src/CBot/CBotInstr/CBotExprLitString.h
+++ b/src/CBot/CBotInstr/CBotExprLitString.h
@@ -56,8 +56,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotExprLitString"; }
- virtual std::string GetDebugData();
+ virtual const std::string GetDebugName() override { return "CBotExprLitString"; }
+ virtual std::string GetDebugData() override;
};
} // namespace CBot
diff --git a/src/CBot/CBotInstr/CBotExprUnaire.h b/src/CBot/CBotInstr/CBotExprUnaire.h
index 83d679c..f4f4e47 100644
--- a/src/CBot/CBotInstr/CBotExprUnaire.h
+++ b/src/CBot/CBotInstr/CBotExprUnaire.h
@@ -56,8 +56,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotExprUnaire"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotExprUnaire"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! Expression to be evaluated.
diff --git a/src/CBot/CBotInstr/CBotExprVar.h b/src/CBot/CBotInstr/CBotExprVar.h
index ba3f54b..1bd9371 100644
--- a/src/CBot/CBotInstr/CBotExprVar.h
+++ b/src/CBot/CBotInstr/CBotExprVar.h
@@ -89,8 +89,8 @@ public:
void RestoreStateVar(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotExprVar"; }
- virtual std::string GetDebugData();
+ virtual const std::string GetDebugName() override { return "CBotExprVar"; }
+ virtual std::string GetDebugData() override;
private:
long m_nIdent;
diff --git a/src/CBot/CBotInstr/CBotExpression.h b/src/CBot/CBotInstr/CBotExpression.h
index 80cf1b8..7aace51 100644
--- a/src/CBot/CBotInstr/CBotExpression.h
+++ b/src/CBot/CBotInstr/CBotExpression.h
@@ -67,8 +67,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotExpression"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotExpression"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! Left operand
diff --git a/src/CBot/CBotInstr/CBotFieldExpr.h b/src/CBot/CBotInstr/CBotFieldExpr.h
index 8feecc6..1e2781b 100644
--- a/src/CBot/CBotInstr/CBotFieldExpr.h
+++ b/src/CBot/CBotInstr/CBotFieldExpr.h
@@ -66,8 +66,8 @@ public:
void RestoreStateVar(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotFieldExpr"; }
- virtual std::string GetDebugData();
+ virtual const std::string GetDebugName() override { return "CBotFieldExpr"; }
+ virtual std::string GetDebugData() override;
private:
friend class CBotExpression;
diff --git a/src/CBot/CBotInstr/CBotFor.h b/src/CBot/CBotInstr/CBotFor.h
index 4b9fde8..19f7585 100644
--- a/src/CBot/CBotInstr/CBotFor.h
+++ b/src/CBot/CBotInstr/CBotFor.h
@@ -56,9 +56,9 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotFor"; }
- virtual std::string GetDebugData();
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotFor"; }
+ virtual std::string GetDebugData() override;
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! Initial intruction
diff --git a/src/CBot/CBotInstr/CBotFunction.h b/src/CBot/CBotInstr/CBotFunction.h
index 510ba1b..a1603f7 100644
--- a/src/CBot/CBotInstr/CBotFunction.h
+++ b/src/CBot/CBotInstr/CBotFunction.h
@@ -243,9 +243,9 @@ public:
CBotGet modestop);
protected:
- virtual const std::string GetDebugName() { return "CBotFunction"; }
- virtual std::string GetDebugData();
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotFunction"; }
+ virtual std::string GetDebugData() override;
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
friend class CBotDebug;
diff --git a/src/CBot/CBotInstr/CBotIf.h b/src/CBot/CBotInstr/CBotIf.h
index 364da0f..0747bbe 100644
--- a/src/CBot/CBotInstr/CBotIf.h
+++ b/src/CBot/CBotInstr/CBotIf.h
@@ -57,8 +57,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotIf"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotIf"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! Condition
diff --git a/src/CBot/CBotInstr/CBotIndexExpr.h b/src/CBot/CBotInstr/CBotIndexExpr.h
index f161f08..ba94190 100644
--- a/src/CBot/CBotInstr/CBotIndexExpr.h
+++ b/src/CBot/CBotInstr/CBotIndexExpr.h
@@ -61,8 +61,8 @@ public:
void RestoreStateVar(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotIndexExpr"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotIndexExpr"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! Expression for calculating the index.
diff --git a/src/CBot/CBotInstr/CBotInstrCall.h b/src/CBot/CBotInstr/CBotInstrCall.h
index 610659f..e40e7e8 100644
--- a/src/CBot/CBotInstr/CBotInstrCall.h
+++ b/src/CBot/CBotInstr/CBotInstrCall.h
@@ -58,9 +58,9 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotInstrCall"; }
- virtual std::string GetDebugData();
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotInstrCall"; }
+ virtual std::string GetDebugData() override;
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! The parameters to be evaluated.
diff --git a/src/CBot/CBotInstr/CBotInstrMethode.h b/src/CBot/CBotInstr/CBotInstrMethode.h
index 089d4af..d1fc424 100644
--- a/src/CBot/CBotInstr/CBotInstrMethode.h
+++ b/src/CBot/CBotInstr/CBotInstrMethode.h
@@ -68,9 +68,9 @@ public:
void RestoreStateVar(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotInstrMethode"; }
- virtual std::string GetDebugData();
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotInstrMethode"; }
+ virtual std::string GetDebugData() override;
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! The parameters to be evaluated.
diff --git a/src/CBot/CBotInstr/CBotLeftExpr.h b/src/CBot/CBotInstr/CBotLeftExpr.h
index 35ac536..12a40e0 100644
--- a/src/CBot/CBotInstr/CBotLeftExpr.h
+++ b/src/CBot/CBotInstr/CBotLeftExpr.h
@@ -87,8 +87,8 @@ public:
void RestoreStateVar(CBotStack* &pile, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotLeftExpr"; }
- virtual std::string GetDebugData();
+ virtual const std::string GetDebugName() override { return "CBotLeftExpr"; }
+ virtual std::string GetDebugData() override;
private:
long m_nIdent;
diff --git a/src/CBot/CBotInstr/CBotLeftExprVar.h b/src/CBot/CBotInstr/CBotLeftExprVar.h
index 52d77b3..34355b3 100644
--- a/src/CBot/CBotInstr/CBotLeftExprVar.h
+++ b/src/CBot/CBotInstr/CBotLeftExprVar.h
@@ -51,8 +51,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotLeftExprVar"; }
- virtual std::string GetDebugData();
+ virtual const std::string GetDebugName() override { return "CBotLeftExprVar"; }
+ virtual std::string GetDebugData() override;
public:
//! Type of variable declared.
diff --git a/src/CBot/CBotInstr/CBotListArray.h b/src/CBot/CBotInstr/CBotListArray.h
index fe1781b..be089f2 100644
--- a/src/CBot/CBotInstr/CBotListArray.h
+++ b/src/CBot/CBotInstr/CBotListArray.h
@@ -58,8 +58,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotListArray"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotListArray"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! An expression for an element others are linked with CBotInstr :: m_next3;
diff --git a/src/CBot/CBotInstr/CBotListExpression.h b/src/CBot/CBotInstr/CBotListExpression.h
index c42c9e8..1ec797f 100644
--- a/src/CBot/CBotInstr/CBotListExpression.h
+++ b/src/CBot/CBotInstr/CBotListExpression.h
@@ -72,8 +72,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotListExpression"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotListExpression"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! The first expression to be evaluated
diff --git a/src/CBot/CBotInstr/CBotListInstr.h b/src/CBot/CBotInstr/CBotListInstr.h
index c95316f..13ae2a7 100644
--- a/src/CBot/CBotInstr/CBotListInstr.h
+++ b/src/CBot/CBotInstr/CBotListInstr.h
@@ -57,8 +57,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotListInstr"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotListInstr"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! Instructions to do.
diff --git a/src/CBot/CBotInstr/CBotLogicExpr.h b/src/CBot/CBotInstr/CBotLogicExpr.h
index 899b392..747b995 100644
--- a/src/CBot/CBotInstr/CBotLogicExpr.h
+++ b/src/CBot/CBotInstr/CBotLogicExpr.h
@@ -51,8 +51,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotLogicExpr"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotLogicExpr"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! Test to evaluate
diff --git a/src/CBot/CBotInstr/CBotNew.h b/src/CBot/CBotInstr/CBotNew.h
index 4645d87..1401217 100644
--- a/src/CBot/CBotInstr/CBotNew.h
+++ b/src/CBot/CBotInstr/CBotNew.h
@@ -56,9 +56,9 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotNew"; }
- virtual std::string GetDebugData();
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotNew"; }
+ virtual std::string GetDebugData() override;
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! The parameters to be evaluated
diff --git a/src/CBot/CBotInstr/CBotPostIncExpr.h b/src/CBot/CBotInstr/CBotPostIncExpr.h
index e1600b0..6cd07ed 100644
--- a/src/CBot/CBotInstr/CBotPostIncExpr.h
+++ b/src/CBot/CBotInstr/CBotPostIncExpr.h
@@ -50,8 +50,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotPostIncExpr"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotPostIncExpr"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
CBotInstr* m_instr;
diff --git a/src/CBot/CBotInstr/CBotPreIncExpr.h b/src/CBot/CBotInstr/CBotPreIncExpr.h
index 600f91a..ed42725 100644
--- a/src/CBot/CBotInstr/CBotPreIncExpr.h
+++ b/src/CBot/CBotInstr/CBotPreIncExpr.h
@@ -50,8 +50,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotPreIncExpr"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotPreIncExpr"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
CBotInstr* m_instr;
diff --git a/src/CBot/CBotInstr/CBotReturn.h b/src/CBot/CBotInstr/CBotReturn.h
index b652bac..97a8ba0 100644
--- a/src/CBot/CBotInstr/CBotReturn.h
+++ b/src/CBot/CBotInstr/CBotReturn.h
@@ -56,8 +56,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotReturn"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotReturn"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! Parameter of return
diff --git a/src/CBot/CBotInstr/CBotSwitch.h b/src/CBot/CBotInstr/CBotSwitch.h
index fd14825..8627da3 100644
--- a/src/CBot/CBotInstr/CBotSwitch.h
+++ b/src/CBot/CBotInstr/CBotSwitch.h
@@ -58,8 +58,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotSwitch"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotSwitch"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! Value to seek
diff --git a/src/CBot/CBotInstr/CBotThrow.h b/src/CBot/CBotInstr/CBotThrow.h
index f9c46ab..a70cbed 100644
--- a/src/CBot/CBotInstr/CBotThrow.h
+++ b/src/CBot/CBotInstr/CBotThrow.h
@@ -56,8 +56,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotThrow"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotThrow"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! The value to send.
diff --git a/src/CBot/CBotInstr/CBotTry.h b/src/CBot/CBotInstr/CBotTry.h
index af61948..546d665 100644
--- a/src/CBot/CBotInstr/CBotTry.h
+++ b/src/CBot/CBotInstr/CBotTry.h
@@ -59,8 +59,8 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotTry"; }
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotTry"; }
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! Instructions
diff --git a/src/CBot/CBotInstr/CBotTwoOpExpr.h b/src/CBot/CBotInstr/CBotTwoOpExpr.h
index b137514..5fb1d59 100644
--- a/src/CBot/CBotInstr/CBotTwoOpExpr.h
+++ b/src/CBot/CBotInstr/CBotTwoOpExpr.h
@@ -82,9 +82,9 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotTwoOpExpr"; }
- virtual std::string GetDebugData();
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotTwoOpExpr"; }
+ virtual std::string GetDebugData() override;
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! Left element
diff --git a/src/CBot/CBotInstr/CBotWhile.h b/src/CBot/CBotInstr/CBotWhile.h
index 9aed46c..2e16148 100644
--- a/src/CBot/CBotInstr/CBotWhile.h
+++ b/src/CBot/CBotInstr/CBotWhile.h
@@ -65,9 +65,9 @@ public:
void RestoreState(CBotStack* &pj, bool bMain) override;
protected:
- virtual const std::string GetDebugName() { return "CBotWhile"; }
- virtual std::string GetDebugData();
- virtual std::map<std::string, CBotInstr*> GetDebugLinks();
+ virtual const std::string GetDebugName() override { return "CBotWhile"; }
+ virtual std::string GetDebugData() override;
+ virtual std::map<std::string, CBotInstr*> GetDebugLinks() override;
private:
//! Condition
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git
More information about the Pkg-games-commits
mailing list