Commit f98045377cde26fc45e1946a6439f0769b850b83

Thomas de Grivel 2018-06-03T23:06:08

fix build on clisp

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/uri-template.lisp b/uri-template.lisp
index 9b30c56..74c5250 100644
--- a/uri-template.lisp
+++ b/uri-template.lisp
@@ -153,10 +153,10 @@ URI-TEMPLATE."
 
 ;;  Cache
 
-(defvar *uri-templates* (make-hash-table :test 'equal :weakness :value))
+(defvar *uri-templates* (make-hash-table :test 'equal))
 
 (defun clear-uri-templates-cache ()
-  (setq *uri-templates* (make-hash-table :test 'equal :weakness :value)))
+  (setq *uri-templates* (make-hash-table :test 'equal)))
 
 (defun uri-template (thing)
   (typecase thing