diplomacy: provide a val name for all LazyModule constructions
This commit is contained in:
1 parent
a3e44375c6
commit
8781d2b2e7
40 files changed
+242
-78
No files matched your search
@@ -121,5 +121,9 @@ class TLCacheCork(unsafe: Boolean = false)(implicit p: Parameters) extends LazyM
|
||||
|
||||
object TLCacheCork
|
||||
{
|
||||
def apply(unsafe: Boolean = false)(implicit p: Parameters): TLNode = LazyModule(new TLCacheCork(unsafe)).node
|
||||
def apply(unsafe: Boolean = false)(implicit p: Parameters): TLNode =
|
||||
{
|
||||
val cork = LazyModule(new TLCacheCork(unsafe))
|
||||
cork.node
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user