summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--messageenginefactory.cpp1
-rw-r--r--utils.h16
3 files changed, 1 insertions, 18 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 696b8bd..4a37ee3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -61,7 +61,7 @@ set (SUBDIRS
voice-capabilities
weather)
-add_headers(message.h messagefactory.h messageengine.h messageenginefactory.h responsemessage.h callmessage.h eventmessage.h utils.h)
+add_headers(message.h messagefactory.h messageengine.h messageenginefactory.h responsemessage.h callmessage.h eventmessage.h)
add_sources(message.cpp messagefactory.cpp messageengine.cpp messageenginefactory.cpp responsemessage.cpp callmessage.cpp eventmessage.cpp)
foreach(subdir ${SUBDIRS})
diff --git a/messageenginefactory.cpp b/messageenginefactory.cpp
index 7a052ce..db5c70b 100644
--- a/messageenginefactory.cpp
+++ b/messageenginefactory.cpp
@@ -21,7 +21,6 @@
#include <QUrl>
#include "messageenginefactory.h"
#include "messageengine.h"
-#include "utils.h"
std::shared_ptr<MessageEngine> MessageEngineFactory::getMessageEngine(const QUrl& url)
{
diff --git a/utils.h b/utils.h
deleted file mode 100644
index d0203f9..0000000
--- a/utils.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef UTILS_H
-#define UTILS_H
-
-#include <functional>
-#include <QHash>
-#include <QString>
-
-namespace std {
- template<> struct hash<QString> {
- std::size_t operator()(const QString& s) const noexcept {
- return (size_t) qHash(s);
- }
- };
-}
-
-#endif