|
From: <br...@us...> - 2009-05-28 02:46:30
|
Revision: 3912
http://openvrml.svn.sourceforge.net/openvrml/?rev=3912&view=rev
Author: braden
Date: 2009-05-28 02:46:21 +0000 (Thu, 28 May 2009)
Log Message:
-----------
Assert that type and uri are nonempty.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/libopenvrml-control/openvrml_control/browser.cpp
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-05-28 02:43:46 UTC (rev 3911)
+++ trunk/ChangeLog 2009-05-28 02:46:21 UTC (rev 3912)
@@ -1,5 +1,12 @@
2009-05-27 Braden McDaniel <br...@en...>
+ * src/libopenvrml-control/openvrml_control/browser.cpp
+ (openvrml_control::browser::new_stream(uint64_t, const
+ std::string&, const std::string &)): Assert that type and uri are
+ nonempty.
+
+2009-05-27 Braden McDaniel <br...@en...>
+
Fixes to the conf refactoring to build with gcc on Linux.
* src/Makefile.am
Modified: trunk/src/libopenvrml-control/openvrml_control/browser.cpp
===================================================================
--- trunk/src/libopenvrml-control/openvrml_control/browser.cpp 2009-05-28 02:43:46 UTC (rev 3911)
+++ trunk/src/libopenvrml-control/openvrml_control/browser.cpp 2009-05-28 02:46:21 UTC (rev 3912)
@@ -672,6 +672,9 @@
const std::string & uri)
OPENVRML_THROW1(unknown_stream)
{
+ assert(!type.empty());
+ assert(!uri.empty());
+
using boost::shared_ptr;
shared_ptr<plugin_streambuf> streambuf =
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|