From 768886e4d7b6b4bfe0f57b70cb91ed696908e623 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Thu, 19 Nov 2020 15:24:52 +0000 Subject: [PATCH] EgtNesting 2.2k2 : - corretta CreateAutoNester in caso di errore ora restituisce nullptr. --- AutoNester.cpp | 2 +- EgtNesting.rc | Bin 11638 -> 11646 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/AutoNester.cpp b/AutoNester.cpp index 820e7fe..8c5bbbe 100644 --- a/AutoNester.cpp +++ b/AutoNester.cpp @@ -30,7 +30,7 @@ CreateAutoNester( void) { // verifico la chiave e le opzioni if ( ! TestKeyForENs( GetENsKey(), 0, GetENsLogger())) - return false ; + return nullptr ; // creo il NestMgr return static_cast ( new(nothrow) AutoNester) ; } diff --git a/EgtNesting.rc b/EgtNesting.rc index e2286d12421d26f2aa3a7be6f7eff42b852e12c5..64f15a35255bd47c2c74c9a373d9b018b689c1ae 100644 GIT binary patch delta 134 zcmews^)G6}H#T-d215oN2BXcra{HMk@8Zm2&So&0Y$&L^nMcZtaq~QGBW5Hey39z@ X9*mo-giVm8F-)jo!K2wo*@X)Lx{D$5 delta 121 zcmewt^(|_{H#Sxa1|0^&&41Z6nVB;f3@1a_ Sm