~ubuntu-branches/ubuntu/precise/flightgear/precise

« back to all changes in this revision

Viewing changes to src/FDM/JSBSim/input_output/FGXMLParse.cpp

  • Committer: Package Import Robot
  • Author(s): Ove Kaaven
  • Date: 2011-09-03 22:16:12 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20110903221612-2cjy0z7ztj5nkln5
Tags: 2.4.0-1
* New upstream release. Closes: #638588.
* Build-Depend on OpenSceneGraph 3.0, and the Subversion library.
* Recommend fgfs-scenery-base.
* Enable parallel builds (shorter compile times on multicore CPUs).
* Removed hack that tried to build without optimizations if
  building with optimizations fails.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 
41
41
namespace JSBSim {
42
42
 
43
 
static const char *IdSrc = "$Id$";
 
43
static const char *IdSrc = "$Id: FGXMLParse.cpp,v 1.11 2010/09/28 02:54:03 jberndt Exp $";
44
44
static const char *IdHdr = ID_XMLPARSE;
45
45
 
46
46
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
122
122
{
123
123
  if (!working_string.empty()) {
124
124
    vector <string> work_strings = split(working_string, '\n');
125
 
    for (int i=0; i<work_strings.size(); i++) current_element->AddData(work_strings[i]);
 
125
    for (unsigned int i=0; i<work_strings.size(); i++) current_element->AddData(work_strings[i]);
126
126
  }
127
127
 
128
128
  current_element = current_element->GetParent();