forked from organicmaps/organicmaps-tmp
Fixed some warnings
This commit is contained in:
parent
cea2ac100f
commit
a18464d7f5
4 changed files with 4 additions and 3 deletions
|
@ -169,7 +169,7 @@ public:
|
|||
- (void)locationManager:(CLLocationManager *)manager
|
||||
didFailWithError:(NSError *)error
|
||||
{
|
||||
NSLog(@"locationManager failed with error: %d, %@", error.code, error.description);
|
||||
NSLog(@"locationManager failed with error: %ld, %@", error.code, error.description);
|
||||
if (error.code == kCLErrorDenied)
|
||||
{
|
||||
GpsInfo info;
|
||||
|
|
|
@ -127,8 +127,8 @@ Query::Query(string const & query, m2::RectD const & viewport, IndexType const *
|
|||
m_viewport(viewport),
|
||||
m_pCategories(pCategories),
|
||||
m_pTrieRoot(pTrieRoot),
|
||||
m_pIndex(pIndex ? new IndexType(*pIndex) : NULL),
|
||||
m_pFeatures(pFeatures),
|
||||
m_pIndex(pIndex ? new IndexType(*pIndex) : NULL),
|
||||
m_resultsRemaining(10),
|
||||
m_pEngine(pEngine), m_bTerminate(false)
|
||||
{
|
||||
|
|
|
@ -46,8 +46,8 @@ struct EdgeValueReader
|
|||
|
||||
class SearchInfo
|
||||
{
|
||||
scoped_ptr<TrieIterator> m_iterator;
|
||||
FeaturesVector m_features;
|
||||
scoped_ptr<TrieIterator> m_iterator;
|
||||
|
||||
public:
|
||||
SearchInfo(FilesContainerR const & cont)
|
||||
|
|
|
@ -9,6 +9,7 @@ namespace yg
|
|||
class RenderContext
|
||||
{
|
||||
public:
|
||||
virtual ~RenderContext() {}
|
||||
/// Make this context current for the specified thread
|
||||
virtual void makeCurrent() = 0;
|
||||
/// Create a render context which is shared with this one.
|
||||
|
|
Loading…
Add table
Reference in a new issue