diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-01 13:43:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-01 13:43:37 +0200 |
commit | 317cf86dedbd72aacc673c6257cc178e76ee77e3 (patch) | |
tree | d3a5a74b6c202abdd94d629b9c0c3b7577e25c38 /bpkg/diagnostics | |
parent | 84a68ccf26a50d5a20a6d8542e7d5472531333dc (diff) |
Add std::string to common types
Diffstat (limited to 'bpkg/diagnostics')
-rw-r--r-- | bpkg/diagnostics | 4 |
1 files changed, 2 insertions, 2 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; }; |