diff options
-rw-r--r-- | bpkg/diagnostics | 4 | ||||
-rw-r--r-- | bpkg/types | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/bpkg/diagnostics b/bpkg/diagnostics index ef7b24c..d1183d2 100644 --- a/bpkg/diagnostics +++ b/bpkg/diagnostics @@ -211,10 +211,10 @@ namespace bpkg { public: location () {} - location (std::string f, std::uint64_t l, std::uint64_t c) + location (string f, std::uint64_t l, std::uint64_t c) : file (std::move (f)), line (l), column (c) {} - std::string file; + string file; std::uint64_t line; std::uint64_t column; }; @@ -15,7 +15,9 @@ namespace bpkg { // Commonly-used types. // - using strings = std::vector<std::string>; + using std::string; + + using strings = std::vector<string>; using cstrings = std::vector<const char*>; // <butl/path> |