]> git.stg.codes - stg.git/blobdiff - projects/stargazer/corps_impl.cpp
Various fixes of issues reported by static analyzers.
[stg.git] / projects / stargazer / corps_impl.cpp
index 4109bb28a567b53e2f845c3bc17953e923fe94dd..098acacac1b9f7ec6761d19751b1431b321e3c6d 100644 (file)
  *    Author : Maxim Mamontov <faust@stargazer.dp.ua>
  */
 
-#include <cerrno>
-#include <cassert>
-#include <algorithm>
+#include "corps_impl.h"
 
 #include "stg/admin.h"
 #include "stg/common.h"
-#include "corps_impl.h"
+
+#include <cerrno>
+#include <cassert>
+#include <algorithm>
 
 //-----------------------------------------------------------------------------
 CORPORATIONS_IMPL::CORPORATIONS_IMPL(STORE * st)
@@ -107,7 +108,7 @@ while (csi != searchDescriptors.end())
     {
     if (csi->second == si)
         (csi->second)++;
-    csi++;
+    ++csi;
     }
 
 data.remove(*si);