0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 00:32:35 +01:00

ircd::json: Remove cruft.

This commit is contained in:
Jason Volk 2018-11-06 19:46:15 -08:00
parent cc818f15b6
commit 7c0b4dcbe8
2 changed files with 0 additions and 4 deletions

View file

@ -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
{

View file

@ -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;
}