summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-03-24 13:16:17 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-03-24 13:16:17 +0000
commitacc329936984f08b0961b9330b1549709d27d3e2 (patch)
treef5c0d3ced97f5ad82fb75c53cc63c32aca993c7c
parent100e2f639f8914a66df342ccc0d3d29274035f60 (diff)
downloadATCD-acc329936984f08b0961b9330b1549709d27d3e2.tar.gz
ChangeLogTag: Thu Mar 24 12:59:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--examples/APG/Containers/Hash_Map_Hash.h4
-rw-r--r--examples/APG/Containers/Map_Manager_Specialization.cpp4
-rw-r--r--examples/APG/Containers/RB_Tree_Functors.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/examples/APG/Containers/Hash_Map_Hash.h b/examples/APG/Containers/Hash_Map_Hash.h
index 6ac65e0f1be..3d3a76178f0 100644
--- a/examples/APG/Containers/Hash_Map_Hash.h
+++ b/examples/APG/Containers/Hash_Map_Hash.h
@@ -22,7 +22,7 @@ private:
};
// Specialize the hash functor.
-ACE_TEMPLATE_SPECIALIZATION
+template<>
class ACE_Hash<KeyType>
{
public:
@@ -35,7 +35,7 @@ public:
// Specialize the equality functor.
-ACE_TEMPLATE_SPECIALIZATION
+template<>
class ACE_Equal_To<KeyType>
{
public:
diff --git a/examples/APG/Containers/Map_Manager_Specialization.cpp b/examples/APG/Containers/Map_Manager_Specialization.cpp
index 225f07e98c8..82a536c33a4 100644
--- a/examples/APG/Containers/Map_Manager_Specialization.cpp
+++ b/examples/APG/Containers/Map_Manager_Specialization.cpp
@@ -26,7 +26,7 @@ private:
int val_;
};
-ACE_TEMPLATE_SPECIALIZATION
+template<>
int
ACE_Map_Manager<KeyType, DataElement, ACE_Null_Mutex>::equal
(const KeyType& r1, const KeyType &r2)
@@ -35,7 +35,7 @@ ACE_Map_Manager<KeyType, DataElement, ACE_Null_Mutex>::equal
}
// Listing 1
#else
-ACE_TEMPLATE_SPECIALIZATION
+template<>
int
ACE_Map_Manager<KeyType, DataElement, ACE_Null_Mutex>::equal
(const KeyType& r1, const KeyType &r2)
diff --git a/examples/APG/Containers/RB_Tree_Functors.h b/examples/APG/Containers/RB_Tree_Functors.h
index 3eafa89bb30..75fb33a69d8 100644
--- a/examples/APG/Containers/RB_Tree_Functors.h
+++ b/examples/APG/Containers/RB_Tree_Functors.h
@@ -20,7 +20,7 @@ private:
int val_;
};
-ACE_TEMPLATE_SPECIALIZATION
+template<>
class ACE_Less_Than<KeyType>
{
public: