summaryrefslogtreecommitdiff
path: root/src/checker/errors/mail/empty.cpp
diff options
context:
space:
mode:
authorclaiff <claiff@mail.ru>2022-09-19 14:03:14 +0300
committerclaiff <claiff@mail.ru>2022-09-21 14:28:10 +0300
commit7a446d48b9270dbe2628b462a54a7a23ff43c572 (patch)
tree8e677b755c3cb529a40ee17078828bc8cc73bf31 /src/checker/errors/mail/empty.cpp
parent629929ebbe386277c25740bc0f4971aac38444d0 (diff)
downloadobmc-sila-smtp-7a446d48b9270dbe2628b462a54a7a23ff43c572.tar.xz
temp
Diffstat (limited to 'src/checker/errors/mail/empty.cpp')
-rw-r--r--src/checker/errors/mail/empty.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/checker/errors/mail/empty.cpp b/src/checker/errors/mail/empty.cpp
new file mode 100644
index 0000000..06f6f4c
--- /dev/null
+++ b/src/checker/errors/mail/empty.cpp
@@ -0,0 +1,9 @@
+#include "empty.hpp"
+
+namespace smtp::checker::errors::settings
+{
+ bool Empty::Check( std::string const& line ) const
+ {
+ return !line.empty();
+ }
+}