diff options
| author | Maxime Dénès | 2017-11-03 11:00:27 +0100 |
|---|---|---|
| committer | Maxime Dénès | 2017-11-03 11:00:27 +0100 |
| commit | 96a8d73edaa4eba500c440e5d6869fae1af91a12 (patch) | |
| tree | a4122ffc69ae991fc0b878af791338a5e91737ce /stm/asyncTaskQueue.ml | |
| parent | 87f3278ea3520ed2b2a4b355765392550488c1df (diff) | |
| parent | c8533911300df8d4897a3109ea30d43be7f430eb (diff) | |
Merge PR #6051: Fix FIXME: use OCaml 4.02 generative functors when available.
Diffstat (limited to 'stm/asyncTaskQueue.ml')
| -rw-r--r-- | stm/asyncTaskQueue.ml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stm/asyncTaskQueue.ml b/stm/asyncTaskQueue.ml index 5d9b595d36..a356f32e9d 100644 --- a/stm/asyncTaskQueue.ml +++ b/stm/asyncTaskQueue.ml @@ -49,7 +49,7 @@ end type expiration = bool ref -module Make(T : Task) = struct +module Make(T : Task) () = struct exception Die type response = @@ -107,7 +107,7 @@ module Make(T : Task) = struct let open Feedback in feedback ~id:Stateid.initial (WorkerStatus(id, s)) - module Worker = Spawn.Sync(struct end) + module Worker = Spawn.Sync () module Model = struct @@ -354,5 +354,5 @@ module Make(T : Task) = struct end -module MakeQueue(T : Task) = struct include Make(T) end -module MakeWorker(T : Task) = struct include Make(T) end +module MakeQueue(T : Task) () = struct include Make(T) () end +module MakeWorker(T : Task) () = struct include Make(T) () end |
