Don't allow call with no Filter set. Leads to crash.
This commit is contained in:
parent
3d33aff7bc
commit
d59c57717e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue