diff options
Diffstat (limited to 'cppu/source/uno/EnvStack.cxx')
-rw-r--r-- | cppu/source/uno/EnvStack.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cppu/source/uno/EnvStack.cxx b/cppu/source/uno/EnvStack.cxx index 71c87bec7c37..f6b11352cf14 100644 --- a/cppu/source/uno/EnvStack.cxx +++ b/cppu/source/uno/EnvStack.cxx @@ -33,12 +33,15 @@ using namespace com::sun::star; +namespace { struct oslThreadIdentifier_equal { bool operator()(oslThreadIdentifier s1, oslThreadIdentifier s2) const; }; +} + bool oslThreadIdentifier_equal::operator()(oslThreadIdentifier s1, oslThreadIdentifier s2) const { bool result = s1 == s2; @@ -46,12 +49,15 @@ bool oslThreadIdentifier_equal::operator()(oslThreadIdentifier s1, oslThreadIden return result; } +namespace { struct oslThreadIdentifier_hash { size_t operator()(oslThreadIdentifier s1) const; }; +} + size_t oslThreadIdentifier_hash::operator()(oslThreadIdentifier s1) const { return s1; |