diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-05 16:55:32 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-05 16:55:32 +0000 |
| commit | ca5f02dbf193fa5655c57cb25be96a3c9fd05157 (patch) | |
| tree | d5be6180bca64a0f4f8af9aaef2030080787fc24 /src/file.cc | |
| parent | e3b5521ac40125c3dfd9f254856cf58ea1584f79 (diff) | |
Put everything into dcp::dc and change DCP -> Package.
Diffstat (limited to 'src/file.cc')
| -rw-r--r-- | src/file.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file.cc b/src/file.cc index 2009a036..743bc399 100644 --- a/src/file.cc +++ b/src/file.cc @@ -26,7 +26,7 @@ #include "dcp_assert.h" #include <stdio.h> -using namespace dcp; +using namespace dcp::dc; /** 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::fopen_boost (file, "rb"); + FILE* f = dcp::dc::fopen_boost (file, "rb"); DCP_ASSERT (f); fread (_data, 1, _size, f); fclose (f); |
