diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-15 16:57:48 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-15 16:57:48 +0200 |
commit | be3dc4cee63da92cfa1fa44a0bf90ab11ec7aaca (patch) | |
tree | e74b26a798e0ff71bc140bbba3ea30e2eb3ac3e3 /cli/cli.cxx | |
parent | f8c61f71ebf44572c9e865a620dc053e94371beb (diff) |
Start switch to build2
Diffstat (limited to 'cli/cli.cxx')
-rw-r--r-- | cli/cli.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cli/cli.cxx b/cli/cli.cxx index cf4676f..5adca18 100644 --- a/cli/cli.cxx +++ b/cli/cli.cxx @@ -5,17 +5,17 @@ #include <vector> #include <string> -#include <memory> // std::auto_ptr +#include <memory> // unique_ptr #include <fstream> #include <iostream> #include <cutl/compiler/code-stream.hxx> -#include <semantics/doc.hxx> +#include <cli/semantics/doc.hxx> -#include "options.hxx" -#include "parser.hxx" -#include "generator.hxx" +#include <cli/options.hxx> +#include <cli/parser.hxx> +#include <cli/generator.hxx> using namespace std; using namespace cutl; @@ -97,7 +97,7 @@ main (int argc, char* argv[]) // Parse and generate. // parser p (include_paths); - auto_ptr<semantics::cli_unit> unit (p.parse (ifs, path)); + unique_ptr<semantics::cli_unit> unit (p.parse (ifs, path)); // Merge documentation variables from the command line. // |