diff options
Diffstat (limited to 'library/loadpath.ml')
-rw-r--r-- | library/loadpath.ml | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/library/loadpath.ml b/library/loadpath.ml index 315cbf96e..873703aff 100644 --- a/library/loadpath.ml +++ b/library/loadpath.ml @@ -20,13 +20,7 @@ type t = { path_is_root : bool; } -let load_paths = ref ([] : t list) - -let () = Summary.declare_summary "LOADPATHS" { - Summary.freeze_function = (fun () -> !load_paths); - Summary.unfreeze_function = (fun l -> load_paths := l); - Summary.init_function = (fun () -> load_paths := []); -} +let load_paths = Summary.ref ([] : t list) ~name:"LOADPATHS" let logical p = p.path_logical |