aboutsummaryrefslogtreecommitdiff
path: root/clib/hashcons.ml
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2018-10-02 15:59:06 +0200
committerEmilio Jesus Gallego Arias2018-10-02 16:00:22 +0200
commit87d5e79baea4f3679a1429d2a2e128b564eec5d5 (patch)
treeb8c6f4999bbb806bcceaec22fbe482a839246cfd /clib/hashcons.ml
parente65d160d5fa4e0b8b5754b0925b0b5a880523bc5 (diff)
[ocaml] [lib] Remove some compatibility layers for OCaml < 4.03.0
Diffstat (limited to 'clib/hashcons.ml')
-rw-r--r--clib/hashcons.ml4
1 files changed, 1 insertions, 3 deletions
diff --git a/clib/hashcons.ml b/clib/hashcons.ml
index 39969ebf75..4e5d6212a0 100644
--- a/clib/hashcons.ml
+++ b/clib/hashcons.ml
@@ -131,9 +131,7 @@ module Hstring = Make(
type u = unit
let hashcons () s =(* incr accesstr;*) s
- [@@@ocaml.warning "-3"] (* [@@noalloc] since 4.03.0 GPR#240 *)
- external eq : string -> string -> bool = "caml_string_equal" "noalloc"
- [@@@ocaml.warning "+3"]
+ let eq = String.equal
(** Copy from CString *)
let rec hash len s i accu =