Remove lg2 template deduction guides
Deduction guides for the base 'log' class are unnecessary and unused,
and deduction guides for the level-types already exist. Remove the
unused ones.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I795ea3a6d453e7a101d9b1d257e1334c894e340b
diff --git a/lib/include/phosphor-logging/lg2.hpp b/lib/include/phosphor-logging/lg2.hpp
index ad0d39d..dd1969a 100644
--- a/lib/include/phosphor-logging/lg2.hpp
+++ b/lib/include/phosphor-logging/lg2.hpp
@@ -48,15 +48,6 @@
log() = delete;
};
-// Deducation guides to help the compiler out...
-
-template <level S = level::debug, typename... Ts>
-explicit log(const char*, Ts&&...) -> log<S, Ts...>;
-
-template <level S = level::debug, typename... Ts>
-explicit log(const std::source_location&, const char*, Ts&&...)
- -> log<S, Ts...>;
-
/** Macro to define aliases for lg2::level(...) -> lg2::log<level>(...)
*
* Creates a simple inherited structure and corresponding deduction guides.