mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd::json: Remove cruft.
This commit is contained in:
parent
cc818f15b6
commit
7c0b4dcbe8
2 changed files with 0 additions and 4 deletions
|
@ -29,7 +29,6 @@ at(const tuple &t)
|
|||
val<idx>(t)
|
||||
};
|
||||
|
||||
using value_type = tuple_value_type<tuple, idx>;
|
||||
if(!defined(json::value(ret)))
|
||||
throw not_found
|
||||
{
|
||||
|
@ -54,7 +53,6 @@ at(tuple &t)
|
|||
val<idx>(t)
|
||||
};
|
||||
|
||||
using value_type = tuple_value_type<tuple, idx>;
|
||||
if(!defined(json::value(ret)))
|
||||
throw not_found
|
||||
{
|
||||
|
|
|
@ -48,7 +48,6 @@ get(const tuple &t,
|
|||
val<idx>(t)
|
||||
};
|
||||
|
||||
using value_type = tuple_value_type<tuple, idx>;
|
||||
return defined(json::value(ret))? ret : def;
|
||||
}
|
||||
|
||||
|
@ -81,7 +80,6 @@ get(tuple &t,
|
|||
get<hash, tuple>(t)
|
||||
};
|
||||
|
||||
using value_type = decltype(ret);
|
||||
return defined(json::value(ret))? ret : def;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue