From 6d651b9c688c9e30cbde6cbfe22d6bf5ad321fbc Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 4 Dec 2016 19:18:08 +0100 Subject: [PATCH] Changed: Use !empty() instead of size() --HG-- branch : develop --- code/nel/tools/3d/plugin_max/nel_export/nel_export_swt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/tools/3d/plugin_max/nel_export/nel_export_swt.cpp b/code/nel/tools/3d/plugin_max/nel_export/nel_export_swt.cpp index 997b935a9..c466b7055 100644 --- a/code/nel/tools/3d/plugin_max/nel_export/nel_export_swt.cpp +++ b/code/nel/tools/3d/plugin_max/nel_export/nel_export_swt.cpp @@ -70,7 +70,7 @@ bool CNelExport::exportSWT(const std::string &sPath, std::vector& vectNo } } - if (aSWNodes.size()) + if (!aSWNodes.empty()) { CSkeletonWeight sw; COFile file;