]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/modelCDMProject.cpp
Feature #1711 CreaDevManager application implementation
[crea.git] / lib / creaDevManagerLib / modelCDMProject.cpp
index 30203265940ccf2d3f005ce0bf01035bcc19ebbd..5bc14e4d4b4ed8460aaef0b6cdab11dd3f578487 100644 (file)
@@ -1053,6 +1053,9 @@ bool modelCDMProject::SetPackageInclude(const std::string& package_name, const b
           while(!CMFile.eof())
             {
               std::getline(CMFile, line);
+              if (CMFile.eof()) {
+                break;
+              }
               if(line != "")
                 {
                   std::vector<std::string> segs;