]> ruin.nu Git - hbs.git/blobdiff - bs/bsdoc.cpp
fixed some const/stl problems..
[hbs.git] / bs / bsdoc.cpp
index f26e7e4d66a83104368eb41af05bcc5c1e1f74eb..e5504f93d16d9e5c70cf8151b3effb44e91b3910 100644 (file)
@@ -17,6 +17,7 @@
 
 #include "bsdoc.h"
 
+
 BSDoc::BSDoc()
 {
   modified = false;
@@ -67,7 +68,7 @@ int BSDoc::newBattle(QString name)
 /////////////////////////////////////////////////////////////////////////
 //
 
-std::map<QString, std::map<QString, std::map<QString, Fleet> > >& BSDoc::Battles()
+const std::map<QString, std::map<QString, std::map<QString, Fleet> > >& BSDoc::Battles() const
 {
        return m_Battles;
 }