diff options
author | Tobias Markmann <tm@ayena.de> | 2016-04-08 05:53:25 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2016-04-08 05:53:25 (GMT) |
commit | 49b94e16cdb788d12c0a2afa8c64860746133b50 (patch) | |
tree | a968c772b260a478bdea973de2e86dc1b5ad3b1a /Swift | |
parent | 88a89e14df98764d86d3d1eaa13e111350ac9e55 (diff) | |
download | swift-49b94e16cdb788d12c0a2afa8c64860746133b50.zip swift-49b94e16cdb788d12c0a2afa8c64860746133b50.tar.bz2 |
Fix code in response to compiler warnings by clang
Test-Information:
Builds on OS X 10.11.4 with Apple clang and clang master.
Change-Id: I012577e29c6fcf2fb452b4f13912aaeb37250fb5
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/QtUI/QtWebKitChatView.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/QtWebKitChatView.cpp b/Swift/QtUI/QtWebKitChatView.cpp index a40d0b3..46e8763 100644 --- a/Swift/QtUI/QtWebKitChatView.cpp +++ b/Swift/QtUI/QtWebKitChatView.cpp @@ -129,7 +129,7 @@ void QtWebKitChatView::addMessageBottom(std::shared_ptr<ChatSnippet> snippet) { void QtWebKitChatView::addMessageTop(std::shared_ptr<ChatSnippet> /* snippet */) { // TODO: Implement this in a sensible manner later. - assert(false); + SWIFT_LOG(error) << "Not yet implemented!" << std::endl; } void QtWebKitChatView::addToDOM(std::shared_ptr<ChatSnippet> snippet) { @@ -468,7 +468,7 @@ int QtWebKitChatView::getSnippetPositionByDate(const QDate& date) { void QtWebKitChatView::resetTopInsertPoint() { // TODO: Implement or refactor later. - assert(false); + SWIFT_LOG(error) << "Not yet implemented!" << std::endl; } std::string QtWebKitChatView::addMessage( |