From 4eea7c829754b263be142e09993147763c8a8585 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Sat, 13 Feb 2016 11:54:54 +0100 Subject: [PATCH] Remove KEEPASSX_EXPORT attribute from Tools::binaryFind(). It's an inline function. Declaring it as KEEPASSX_EXPORT breaks building on Windows. Closes #373 --- src/core/Tools.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Tools.h b/src/core/Tools.h index f8de9eb9e..65df1ea4e 100644 --- a/src/core/Tools.h +++ b/src/core/Tools.h @@ -43,7 +43,7 @@ void disableCoreDumps(); void setupSearchPaths(); template -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);