inline comment

This commit is contained in:
silverqx
2022-02-14 17:25:28 +01:00
parent c165469f5d
commit ff6059fcdd

View File

@@ -63,6 +63,7 @@ QString BaseGrammar::wrapTable(const QString &table) const
QString BaseGrammar::wrapTable(const FromClause &table) const
{
if (std::holds_alternative<std::monostate>(table))
// Not InvalidArgumentError because table argument was not passed by user
throw Exceptions::RuntimeError(
QStringLiteral("Unexpected std::monostate value in %1().")
.arg(__tiny_func__));