From 7c0b4dcbe840bde58373f8c9f1aed1fa54296237 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 6 Nov 2018 19:46:15 -0800 Subject: [PATCH] ircd::json: Remove cruft. --- include/ircd/json/tuple/at.h | 2 -- include/ircd/json/tuple/get.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/include/ircd/json/tuple/at.h b/include/ircd/json/tuple/at.h index ece5302b6..ce0c9a5a1 100644 --- a/include/ircd/json/tuple/at.h +++ b/include/ircd/json/tuple/at.h @@ -29,7 +29,6 @@ at(const tuple &t) val(t) }; - using value_type = tuple_value_type; if(!defined(json::value(ret))) throw not_found { @@ -54,7 +53,6 @@ at(tuple &t) val(t) }; - using value_type = tuple_value_type; if(!defined(json::value(ret))) throw not_found { diff --git a/include/ircd/json/tuple/get.h b/include/ircd/json/tuple/get.h index e49f880cb..0532e9e9c 100644 --- a/include/ircd/json/tuple/get.h +++ b/include/ircd/json/tuple/get.h @@ -48,7 +48,6 @@ get(const tuple &t, val(t) }; - using value_type = tuple_value_type; return defined(json::value(ret))? ret : def; } @@ -81,7 +80,6 @@ get(tuple &t, get(t) }; - using value_type = decltype(ret); return defined(json::value(ret))? ret : def; }