From b1ce2437c001391b0dcc17c9ec404e1658ca9e79 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 29 Sep 2019 01:06:27 +0200 Subject: [PATCH] Simplified structs. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit using X = struct X → struct X. --- include/sqlite.hpp | 2 +- include/uri.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/sqlite.hpp b/include/sqlite.hpp index b9da095..fe02e29 100644 --- a/include/sqlite.hpp +++ b/include/sqlite.hpp @@ -52,7 +52,7 @@ namespace remwharead * * @headerfile sqlite.hpp remwharead/sqlite.hpp */ - using entry = struct entry + struct entry { string uri; string archive_uri; diff --git a/include/uri.hpp b/include/uri.hpp index f438ae9..2ab2cf9 100644 --- a/include/uri.hpp +++ b/include/uri.hpp @@ -32,7 +32,7 @@ namespace remwharead * * @headerfile uri.hpp remwharead/uri.hpp */ - using html_extract = struct html_extract + struct html_extract { bool successful = false; string error; @@ -52,7 +52,7 @@ namespace remwharead * * @headerfile uri.hpp remwharead/uri.hpp */ - using archive_answer = struct archive_answer + struct archive_answer { bool successful = false; string error;