From b7e848de2336801e80a4c6c4d67d35f69cefa65d Mon Sep 17 00:00:00 2001 From: historic_bruno Date: Sat, 25 Feb 2012 06:24:24 +0000 Subject: [PATCH] Avoid unused parameter warnings due to safe bool operators. This was SVN commit r11142. --- source/simulation2/system/CmpPtr.h | 4 ++-- source/tools/atlas/AtlasObject/AtlasObject.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/simulation2/system/CmpPtr.h b/source/simulation2/system/CmpPtr.h index f5716cd70f..5ecc8fba95 100644 --- a/source/simulation2/system/CmpPtr.h +++ b/source/simulation2/system/CmpPtr.h @@ -83,14 +83,14 @@ public: }; template -bool operator!=(const CmpPtr& lhs, const U& rhs) +bool operator!=(const CmpPtr& lhs, const U& UNUSED(rhs)) { lhs.this_type_does_not_support_comparisons(); return false; } template -bool operator==(const CmpPtr& lhs, const U& rhs) +bool operator==(const CmpPtr& lhs, const U& UNUSED(rhs)) { lhs.this_type_does_not_support_comparisons(); return false; diff --git a/source/tools/atlas/AtlasObject/AtlasObject.h b/source/tools/atlas/AtlasObject/AtlasObject.h index 59338c7539..65b16db6b6 100644 --- a/source/tools/atlas/AtlasObject/AtlasObject.h +++ b/source/tools/atlas/AtlasObject/AtlasObject.h @@ -69,13 +69,13 @@ public: }; template - bool operator!=(const AtSmartPtr& lhs, const U& rhs) + bool operator!=(const AtSmartPtr& lhs, const U&) { lhs.this_type_does_not_support_comparisions(); return false; } template - bool operator==(const AtSmartPtr& lhs, const U& rhs) + bool operator==(const AtSmartPtr& lhs, const U&) { lhs.this_type_does_not_support_comparisions(); return false;