Revision: 7470
          http://playerstage.svn.sourceforge.net/playerstage/?rev=7470&view=rev
Author:   natepak
Date:     2009-03-13 05:28:33 +0000 (Fri, 13 Mar 2009)

Log Message:
-----------
Added missing includes

Modified Paths:
--------------
    code/websim/src/confederate.cc
    code/websim/src/parser.cc
    code/websim/src/websim.cc

Modified: code/websim/src/confederate.cc
===================================================================
--- code/websim/src/confederate.cc      2009-03-13 02:49:05 UTC (rev 7469)
+++ code/websim/src/confederate.cc      2009-03-13 05:28:33 UTC (rev 7470)
@@ -26,6 +26,7 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <assert.h>
 #include <iostream>
 
@@ -34,9 +35,9 @@
 
 WebSim::Confederate::Confederate( WebSim* ws, 
                                                                                
         std::string uri ) :
-  name(uri),
   ws(ws),
-  puppet_list( NULL )
+  puppet_list( NULL ),
+  name(uri)
 {
 
   size_t pos = uri.find( ":" ); // find the start of the port number

Modified: code/websim/src/parser.cc
===================================================================
--- code/websim/src/parser.cc   2009-03-13 02:49:05 UTC (rev 7469)
+++ code/websim/src/parser.cc   2009-03-13 05:28:33 UTC (rev 7470)
@@ -29,6 +29,8 @@
 #include <assert.h>
 #include <string>
 #include <iostream>
+#include <string.h>
+#include <stdlib.h>
 
 #include "websim.hh"
 

Modified: code/websim/src/websim.cc
===================================================================
--- code/websim/src/websim.cc   2009-03-13 02:49:05 UTC (rev 7469)
+++ code/websim/src/websim.cc   2009-03-13 05:28:33 UTC (rev 7470)
@@ -40,8 +40,8 @@
 WebSim::WebSim(const std::string& _fedfile,
                const std::string& _host, 
                unsigned short _port) :
+  tick_count_expected(0),
   ticks_remaining(0),
-  tick_count_expected(0),
   fedfile(_fedfile), 
   host(_host), 
   port(_port),


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to