summaryrefslogtreecommitdiff
path: root/src/file.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-01-06 08:28:18 +0000
committerCarl Hetherington <cth@carlh.net>2016-01-10 13:09:45 +0000
commit93f29880839dc5589bb35f63260a7152ead7655f (patch)
tree865dd65298dd11d949efed2ac3f58f3564c7cc8f /src/file.cc
parentd7965cce4c5f95da7971bce6f800739a4cd2f17d (diff)
Introduce dc::Package, changing lots of namespaces in the process.
Diffstat (limited to 'src/file.cc')
-rw-r--r--src/file.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file.cc b/src/file.cc
index 743bc399..2009a036 100644
--- a/src/file.cc
+++ b/src/file.cc
@@ -26,7 +26,7 @@
#include "dcp_assert.h"
#include <stdio.h>
-using namespace dcp::dc;
+using namespace dcp;
/** Read a file into memory.
* @param file to read.
@@ -35,7 +35,7 @@ File::File (boost::filesystem::path file)
{
_size = boost::filesystem::file_size (file);
_data = new uint8_t[_size];
- FILE* f = dcp::dc::fopen_boost (file, "rb");
+ FILE* f = dcp::fopen_boost (file, "rb");
DCP_ASSERT (f);
fread (_data, 1, _size, f);
fclose (f);