From 528d53732e9776d5f771f4462b3de55d5b0c7d04 Mon Sep 17 00:00:00 2001 From: jeaye Date: Mon, 15 Jul 2024 18:18:52 -0700 Subject: [PATCH] Clean up some auto usage --- compiler+runtime/src/jank/clojure/core.jank | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/compiler+runtime/src/jank/clojure/core.jank b/compiler+runtime/src/jank/clojure/core.jank index f0bef7f3f..481673354 100644 --- a/compiler+runtime/src/jank/clojure/core.jank +++ b/compiler+runtime/src/jank/clojure/core.jank @@ -752,15 +752,14 @@ (defn pop! ([coll] - (native/raw "auto transient_coll = try_object(~{ coll }); + (native/raw "auto transient_coll(try_object(~{ coll })); __value = transient_coll->pop_in_place();"))) (defn disj! ([set] set) ([set elem] - (native/raw "auto typed_set = try_object(~{ set }); - __value = typed_set->disjoin_in_place(~{ elem }); - ")) + (native/raw "auto typed_set(try_object(~{ set })); + __value = typed_set->disjoin_in_place(~{ elem });")) ([set elem & elems] (let [ret (disj! set elem)] (if elems