remove old LinearMap constructor
This commit is contained in:
parent
e8f4da78e7
commit
acde90dc1c
2 changed files with 4 additions and 8 deletions
|
|
@ -259,7 +259,7 @@ impl Context {
|
|||
static fn new(db: @Mut<Database>,
|
||||
lg: @Mut<Logger>,
|
||||
cfg: @json::Object) -> Context {
|
||||
Context {db: db, logger: lg, cfg: cfg, freshness: LinearMap()}
|
||||
Context{db: db, logger: lg, cfg: cfg, freshness: LinearMap::new()}
|
||||
}
|
||||
|
||||
fn prep<T:Owned
|
||||
|
|
@ -270,7 +270,7 @@ impl Context {
|
|||
blk: fn(@Mut<Prep>)->Work<T>) -> Work<T> {
|
||||
let p = @Mut(Prep {ctxt: self,
|
||||
fn_name: fn_name.to_owned(),
|
||||
declared_inputs: LinearMap()});
|
||||
declared_inputs: LinearMap::new()});
|
||||
blk(p)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue