Revision: 9128
          http://sourceforge.net/p/playerstage/svn/9128
Author:   jpgr87
Date:     2013-11-10 18:19:23 +0000 (Sun, 10 Nov 2013)
Log Message:
-----------
Applied patch #669: Exception catched by value instead of by reference

Modified Paths:
--------------
    code/player/trunk/server/drivers/opaque/flexiport.cc

Modified: code/player/trunk/server/drivers/opaque/flexiport.cc
===================================================================
--- code/player/trunk/server/drivers/opaque/flexiport.cc        2013-10-06 
17:34:25 UTC (rev 9127)
+++ code/player/trunk/server/drivers/opaque/flexiport.cc        2013-11-10 
18:19:23 UTC (rev 9128)
@@ -159,7 +159,7 @@
                _port = flexiport::CreatePort (_portOptions.GetValue ());
                _port->Open ();
        }
-       catch (flexiport::PortException e)
+       catch (flexiport::PortException & e)
        {
                PLAYER_ERROR1 ("flexiport: Failed to create port instance: %s", 
e.what ());
                return 1;
@@ -250,7 +250,7 @@
                                                                
recv->data_count);
                        }
                }
-               catch (flexiport::PortException e)
+               catch (flexiport::PortException & e)
                {
                        PLAYER_ERROR1 ("flexiport: Error writing to port: %s", 
e.what ());
                }

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


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Playerstage-commit mailing list
Playerstage-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to