mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-26 15:59:50 -05:00
Remove KEEPASSX_EXPORT attribute from Tools::binaryFind().
It's an inline function. Declaring it as KEEPASSX_EXPORT breaks building on Windows. Closes #373
This commit is contained in:
parent
d6d92ce90a
commit
4eea7c8297
@ -43,7 +43,7 @@ void disableCoreDumps();
|
|||||||
void setupSearchPaths();
|
void setupSearchPaths();
|
||||||
|
|
||||||
template <typename RandomAccessIterator, typename T>
|
template <typename RandomAccessIterator, typename T>
|
||||||
KEEPASSX_EXPORT RandomAccessIterator binaryFind(RandomAccessIterator begin, RandomAccessIterator end, const T& value)
|
RandomAccessIterator binaryFind(RandomAccessIterator begin, RandomAccessIterator end, const T& value)
|
||||||
{
|
{
|
||||||
RandomAccessIterator it = std::lower_bound(begin, end, value);
|
RandomAccessIterator it = std::lower_bound(begin, end, value);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user