summaryrefslogtreecommitdiff
path: root/libs/cassowary/cassowary/ClConstraintHash.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/cassowary/cassowary/ClConstraintHash.h')
-rw-r--r--libs/cassowary/cassowary/ClConstraintHash.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/libs/cassowary/cassowary/ClConstraintHash.h b/libs/cassowary/cassowary/ClConstraintHash.h
deleted file mode 100644
index 9d51fad311..0000000000
--- a/libs/cassowary/cassowary/ClConstraintHash.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// $Id$
-//
-// Cassowary Incremental Constraint Solver
-// Original Smalltalk Implementation by Alan Borning
-// This C++ Implementation by Greg J. Badros, <gjb@cs.washington.edu>
-// http://www.cs.washington.edu/homes/gjb
-// (C) 1998, 1999 Greg J. Badros and Alan Borning
-// See ../LICENSE for legal details regarding this software
-//
-// ClHash.h
-
-#ifndef CL_HASH_H__
-#define CL_HASH_H__
-
-#if defined(HAVE_CONFIG_H) && !defined(CONFIG_H_INCLUDED) && !defined(CONFIG_INLINE_H_INCLUDED)
-#include <cassowary/config-inline.h>
-#define CONFIG_INLINE_H_INCLUDED
-#endif
-
-#ifdef CL_USE_HASH_MAP_AND_SET
-
-#include <hash_map>
-
-class ClConstraint;
-
-struct hash<const ClConstraint *> {
- size_t operator()(const ClConstraint * const p) const
- { return size_t((unsigned long)p/CL_PTR_HASH_DIVISOR); }
-};
-
-struct hash<ClConstraint *> {
- size_t operator()(ClConstraint * const p) const
- { return size_t((unsigned long)p/CL_PTR_HASH_DIVISOR); }
-};
-
-#endif // CL_USE_HASH_MAP_AND_SET
-
-
-#endif