From 68c4e908d761f97ed2cd8701f4d5c90b90e9f5bd Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Sun, 22 May 2011 16:55:25 +0200 Subject: [PATCH] Warning fix --- map/framework.cpp | 2 +- qt/mainwindow.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/map/framework.cpp b/map/framework.cpp index 04b1ad5f97..83f3c28e4b 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -160,7 +160,7 @@ namespace fwork shared_ptr ptr( new di::DrawInfo(f.GetPreferredDrawableName(languages::GetCurrentPriorities()), - f.GetRank())); + f.GetRank())); DrawerYG * pDrawer = GetDrawer(); diff --git a/qt/mainwindow.hpp b/qt/mainwindow.hpp index 13808a4ade..370a0e9a48 100644 --- a/qt/mainwindow.hpp +++ b/qt/mainwindow.hpp @@ -6,7 +6,7 @@ class QDockWidget; -namespace search { struct Result; } +namespace search { class Result; } namespace qt {