]> OCCT Git - occt-copy.git/commitdiff
0030901: Visualization - OSD_MemInfo moving memory computation out of the constructor
authornds <nds@opencascade.com>
Thu, 15 Aug 2019 05:48:14 +0000 (08:48 +0300)
committernds <nds@opencascade.com>
Thu, 15 Aug 2019 05:48:14 +0000 (08:48 +0300)
src/Draw/Draw_BasicCommands.cxx

index 96f0ba634b4183a94939a8c850a1890a3d2d2c9a..a5d1f332ddab35c339d0d1d99858ca89ee64f883 100644 (file)
@@ -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();