3174
|
1 |
--- libebml-1.2.0/src/EbmlBinary.cpp.orig Thu Aug 19 08:01:28 2010
|
|
2 |
+++ libebml-1.2.0/src/EbmlBinary.cpp Sat Feb 5 15:52:23 2011
|
|
3 |
@@ -35,6 +35,7 @@
|
|
4 |
\author Julien Coloos <suiryc @ users.sf.net>
|
|
5 |
*/
|
|
6 |
#include <cassert>
|
|
7 |
+#include <string>
|
|
8 |
|
|
9 |
#include "ebml/EbmlBinary.h"
|
|
10 |
#include "ebml/StdIOCallback.h"
|
|
11 |
@@ -93,7 +94,7 @@
|
|
12 |
|
|
13 |
Data = (binary *)malloc(GetSize() * sizeof(binary));
|
|
14 |
if (Data == NULL)
|
|
15 |
- throw CRTError("Error allocating data");
|
|
16 |
+ throw CRTError(std::string("Error allocating data"));
|
|
17 |
SetValueIsSet();
|
|
18 |
return input.read(Data, GetSize());
|
|
19 |
}
|