Skip to content

Commit

Permalink
Remove duplicate code
Browse files Browse the repository at this point in the history
SBCL uses exactly the same form for creating the hash table as the others, no
need to split it out separately.
  • Loading branch information
sjl committed Jan 2, 2017
1 parent 24bc086 commit 61525e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions custom-hash-table.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@ the function MAKE-FOO-HT is defined."
(defun ,make (&rest options)
#+ecl (declare (ignore options))
(checking-reader-conditionals
#+(or allegro ccl lispworks)
#+(or allegro ccl lispworks sbcl)
(apply #'make-hash-table :test ',test :hash-function ',hash-function options)
#+cmu
(apply #'make-hash-table :test ',hash-table-test-sym options)
#+sbcl
(apply #'make-hash-table :test ',test :hash-function ',hash-function options)
#-(or allegro ccl cmu lispworks sbcl)
(make-custom-hash-table :test ',test
:hash-function ',hash-function
Expand Down

0 comments on commit 61525e3

Please sign in to comment.