From 3d2b2212560a2b12d0f66788782fef7052b90552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Sat, 22 Mar 2025 19:53:50 +0300 Subject: [PATCH] =?UTF-8?q?mdbx++:=20=D0=B2=D0=B1=D1=80=D0=BE=D1=81=20`std?= =?UTF-8?q?::invalid=5Fargument`=20=D1=81=20=D1=8F=D0=B2=D0=BD=D1=8B=D0=BC?= =?UTF-8?q?=20=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC?= =?UTF-8?q?=20`"MDBX=5FEINVAL"`=20(backport).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mdbx.c++ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mdbx.c++ b/src/mdbx.c++ index 565c79e9..6ae73d8a 100644 --- a/src/mdbx.c++ +++ b/src/mdbx.c++ @@ -373,7 +373,7 @@ __cold std::string error::message() const { __cold void error::throw_exception() const { switch (code()) { case MDBX_EINVAL: - throw std::invalid_argument("mdbx"); + throw std::invalid_argument("MDBX_EINVAL"); case MDBX_ENOMEM: throw std::bad_alloc(); case MDBX_SUCCESS: