From 2f78215beb7017a98e1a1c53198a42f90eef4020 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() --- 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;