aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-12-23 08:46:35 -0500
committerJack Lloyd <[email protected]>2016-12-23 08:46:35 -0500
commit8e89a86af7e609a83d9c75696fec1f9a61d822fb (patch)
treecaa2d81d8e6356927d7c6cb67b620834706154fc
parente9c1bf02da2f6d78fee76defd0a303ea19b67767 (diff)
Compile fix
-rw-r--r--src/lib/utils/data_src.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/utils/data_src.cpp b/src/lib/utils/data_src.cpp
index d589d5ceb..0e9fd0e33 100644
--- a/src/lib/utils/data_src.cpp
+++ b/src/lib/utils/data_src.cpp
@@ -183,6 +183,7 @@ DataSource_Stream::DataSource_Stream(const std::string& path,
bool use_binary) :
m_identifier(path),
m_source_memory(new std::ifstream(path, use_binary ? std::ios::binary : std::ios::in)),
+ m_source(*m_source_memory),
m_total_read(0)
{
if(!m_source.good())