|
From: <luc...@us...> - 2020-05-08 19:05:06
|
Revision: 26315
http://sourceforge.net/p/sbml/code/26315
Author: luciansmith
Date: 2020-05-08 19:05:04 +0000 (Fri, 08 May 2020)
Log Message:
-----------
Revert for Sarah's move to git. Whoops!
Modified Paths:
--------------
branches/libsbml-experimental/src/sbml/packages/spatial/common/CompressionUtil.h
Modified: branches/libsbml-experimental/src/sbml/packages/spatial/common/CompressionUtil.h
===================================================================
--- branches/libsbml-experimental/src/sbml/packages/spatial/common/CompressionUtil.h 2020-05-08 19:02:05 UTC (rev 26314)
+++ branches/libsbml-experimental/src/sbml/packages/spatial/common/CompressionUtil.h 2020-05-08 19:05:04 UTC (rev 26315)
@@ -41,7 +41,6 @@
#include <vector>
#include <iostream>
-#include <cstdlib> //for malloc
LIBSBML_CPP_NAMESPACE_BEGIN
@@ -89,7 +88,7 @@
if (length > 0)
{
- type* data = (type*)std::malloc(sizeof(type) * length);
+ type* data = (type*)malloc(sizeof(type) * length);
for (size_t i = 0; i < length; ++i)
{
data[i] = valuesVector.at(i);
|