From 312b8e32ce9de83bf4a513e15d392e7a27b4c22d Mon Sep 17 00:00:00 2001 From: Alex Kaszynski Date: Thu, 26 Sep 2024 09:41:16 -0600 Subject: [PATCH] disable weak warnings --- src/deck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deck.cpp b/src/deck.cpp index 822fe32..8f98213 100644 --- a/src/deck.cpp +++ b/src/deck.cpp @@ -660,7 +660,7 @@ class Deck { // Likely bogus leak warnings. See: // https://nanobind.readthedocs.io/en/latest/faq.html#why-am-i-getting-errors-about-leaked-functions-and-types - // nb::set_leak_warnings(false); + nb::set_leak_warnings(false); } ~Deck() { memmap.close_file(); }