From 317cf86dedbd72aacc673c6257cc178e76ee77e3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 1 Sep 2015 13:43:37 +0200 Subject: Add std::string to common types --- bpkg/diagnostics | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpkg/diagnostics') 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; }; -- cgit v1.1