about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-01-24 11:47:00 -0500
committerDaniel Micay <danielmicay@gmail.com>2013-01-24 13:36:04 -0500
commitacde90dc1c5d13ccfd24703bddc1e2df4a52ae58 (patch)
treef87866111f70aae319f4ec9124aeb9b352ee4a3a /src/libstd
parente8f4da78e78238d7a24dc452302a4c1f113f0e2a (diff)
downloadrust-acde90dc1c5d13ccfd24703bddc1e2df4a52ae58.tar.gz
rust-acde90dc1c5d13ccfd24703bddc1e2df4a52ae58.zip
remove old LinearMap constructor
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/workcache.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/workcache.rs b/src/libstd/workcache.rs
index 9572c07e715..fbd695aee76 100644
--- a/src/libstd/workcache.rs
+++ b/src/libstd/workcache.rs
@@ -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)
     }
 }