1
0
Fork 0

Don't allow call with no Filter set. Leads to crash.

This commit is contained in:
Torsten Dreyer 2014-03-19 17:24:52 +01:00
parent 3d33aff7bc
commit d59c57717e

View file

@ -181,13 +181,13 @@ public:
Type mMinType, mMaxType;
};
static FGPositionedList findWithinRange(const SGGeod& aPos, double aRangeNm, Filter* aFilter = NULL);
static FGPositionedList findWithinRange(const SGGeod& aPos, double aRangeNm, Filter* aFilter);
static FGPositionedList findWithinRangePartial(const SGGeod& aPos, double aRangeNm, Filter* aFilter, bool& aPartial);
static FGPositionedRef findClosestWithIdent(const std::string& aIdent, const SGGeod& aPos, Filter* aFilter = NULL);
static FGPositionedRef findFirstWithIdent(const std::string& aIdent, Filter* aFilter = NULL);
static FGPositionedRef findFirstWithIdent(const std::string& aIdent, Filter* aFilter);
/**
* Find all items with the specified ident