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:
Felix Geyer 2016-02-13 11:54:54 +01:00
parent d6d92ce90a
commit 4eea7c8297

View File

@ -43,7 +43,7 @@ void disableCoreDumps();
void setupSearchPaths();
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);