projects
/
clsql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20d07b3
)
Simplify slotdefs-for-slots-with-class by using existing function.
author
Nathan Bird
<nathan@acceleration.net>
Wed, 5 Dec 2012 18:37:49 +0000
(13:37 -0500)
committer
Nathan Bird
<nathan@acceleration.net>
Wed, 5 Dec 2012 22:10:33 +0000
(17:10 -0500)
sql/metaclasses.lisp
patch
|
blob
|
history
diff --git
a/sql/metaclasses.lisp
b/sql/metaclasses.lisp
index 7a2fce71445b311a62a3dd27a6ad09a0f7f71aad..1c9a6c5b34583fe882886bdb6c65b7ce70f665cd 100644
(file)
--- a/
sql/metaclasses.lisp
+++ b/
sql/metaclasses.lisp
@@
-542,9
+542,7
@@
implementations."
(defun slotdef-for-slot-with-class (slot class)
(typecase slot
(standard-slot-definition slot)
- (symbol
- (find-if #'(lambda (d) (eql slot (slot-definition-name d)))
- (class-slots class)))))
+ (symbol (find-slot-by-name class slot))))
#+ignore
(eval-when (:compile-toplevel :load-toplevel :execute)