aboutsummaryrefslogtreecommitdiff
path: root/src/include/fst/extensions/pdt/collection.h
diff options
context:
space:
mode:
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>2012-11-06 14:40:33 +0000
committerPrzemyslaw Szczepaniak <pszczepaniak@google.com>2012-11-06 14:40:33 +0000
commit3da1eb108d36da35333b2d655202791af854996b (patch)
tree500100881064a294f5a6e53025d44a461b3b15a3 /src/include/fst/extensions/pdt/collection.h
parentdfd8b8327b93660601d016cdc6f29f433b45a8d8 (diff)
downloadopenfst-3da1eb108d36da35333b2d655202791af854996b.tar.gz
Switch to gnustl with rtti
Required for compiling with greco3 code. Added -gnustl-rtti suffix to distinguish from stlport libs Reverted changes added for stlport. Bug: 7484202 Change-Id: Ib69db7117821f97133cadaae0f45b4e8ed2fda01
Diffstat (limited to 'src/include/fst/extensions/pdt/collection.h')
-rw-r--r--src/include/fst/extensions/pdt/collection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/fst/extensions/pdt/collection.h b/src/include/fst/extensions/pdt/collection.h
index 24a443f..7cc6dd8 100644
--- a/src/include/fst/extensions/pdt/collection.h
+++ b/src/include/fst/extensions/pdt/collection.h
@@ -107,7 +107,7 @@ class Collection {
private:
static const I kNoNodeId;
static const size_t kPrime;
- static std::hash<T> hash_;
+ static std::tr1::hash<T> hash_;
NodeTable node_table_;
@@ -118,7 +118,7 @@ template<class I, class T> const I Collection<I, T>::kNoNodeId = -1;
template <class I, class T> const size_t Collection<I, T>::kPrime = 7853;
-template <class I, class T> std::hash<T> Collection<I, T>::hash_;
+template <class I, class T> std::tr1::hash<T> Collection<I, T>::hash_;
} // namespace fst