Commit d57e1009 authored by Davis King's avatar Davis King

updated example to not use ::kernel_1a syntax.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404224
parent 35f11770
......@@ -47,7 +47,7 @@ int main(int argc, char** argv)
istringstream sin;
// this is the object we will use to do the base64 encoding
base64::kernel_1a base64_coder;
base64 base64_coder;
// this is the object we will use to do the data compression
compress_stream::kernel_1ea compressor;
......@@ -74,7 +74,7 @@ int main(int argc, char** argv)
sout << "// This function returns the contents of the file '" << argv[1] << "'\n";
sout << "const std::string get_decoded_string()\n";
sout << "{\n";
sout << " dlib::base64::kernel_1a base64_coder;\n";
sout << " dlib::base64 base64_coder;\n";
sout << " dlib::compress_stream::kernel_1ea compressor;\n";
sout << " std::ostringstream sout;\n";
sout << " std::istringstream sin;\n\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment