From: nds Date: Thu, 15 Aug 2019 05:48:14 +0000 (+0300) Subject: 0030901: Visualization - OSD_MemInfo moving memory computation out of the constructor X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=f834363dc3d5f2b5c46ed051091999bd517da83c;p=occt-copy.git 0030901: Visualization - OSD_MemInfo moving memory computation out of the constructor --- diff --git a/src/Draw/Draw_BasicCommands.cxx b/src/Draw/Draw_BasicCommands.cxx index 96f0ba634b..a5d1f332dd 100644 --- a/src/Draw/Draw_BasicCommands.cxx +++ b/src/Draw/Draw_BasicCommands.cxx @@ -763,7 +763,7 @@ static int dmeminfo (Draw_Interpretor& theDI, const char** theArgVec) { OSD_MemInfo aMemInfo; - aMemTool.Update(); + aMemInfo.Update(); if (theArgNb <= 1) { theDI << aMemInfo.ToString();