aboutsummaryrefslogtreecommitdiff
path: root/plugins/btauto
diff options
context:
space:
mode:
authorMaxime Dénès2017-05-28 18:14:12 +0200
committerMaxime Dénès2017-05-28 18:14:12 +0200
commit132d40ae3168065ed9ca11aa12fc6c96111a1e67 (patch)
tree3fe503493fce624caf8fd50d8580127bb8da0606 /plugins/btauto
parent422b892e71641f23dc71499733997546ecffa46b (diff)
parent6841c6db48d57911d3886057e1ca47a5aa161ca7 (diff)
Merge PR#675: [coqlib] Deprecate redundant Coqlib functions.
Diffstat (limited to 'plugins/btauto')
-rw-r--r--plugins/btauto/refl_btauto.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/btauto/refl_btauto.ml b/plugins/btauto/refl_btauto.ml
index a0b04ce3b5..33a9dd4fd9 100644
--- a/plugins/btauto/refl_btauto.ml
+++ b/plugins/btauto/refl_btauto.ml
@@ -8,7 +8,7 @@ let init_constant dir s =
in
find_constant contrib_name dir s
-let get_constant dir s = lazy (Coqlib.gen_constant contrib_name dir s)
+let get_constant dir s = lazy (Universes.constr_of_global @@ Coqlib.coq_reference contrib_name dir s)
let get_inductive dir s =
let glob_ref () = Coqlib.find_reference contrib_name ("Coq" :: dir) s in