aboutsummaryrefslogtreecommitdiff
path: root/butl/path
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-01-19 13:57:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-01-19 13:57:18 +0200
commit0047a9fdfc83c8fbd40fd235514f46cebc61df95 (patch)
tree199667a360bd1b2fedfda4d17819569d10c990e0 /butl/path
parent7b3c9d8c1c10fbd92f121edbdbc85af759101289 (diff)
Add missing typedef in std::hash<path>
Diffstat (limited to 'butl/path')
-rw-r--r--butl/path2
1 files changed, 2 insertions, 0 deletions
diff --git a/butl/path b/butl/path
index 5bbffee..3a2335e 100644
--- a/butl/path
+++ b/butl/path
@@ -1104,6 +1104,8 @@ namespace std
template <typename C, typename K>
struct hash<butl::basic_path<C, K>>: hash<basic_string<C>>
{
+ using argument_type = butl::basic_path<C, K>;
+
size_t
operator() (const butl::basic_path<C, K>& p) const noexcept
{