Date: prev next · Thread: first prev next last
2020 Archives by date, by thread · List index


NUM3Parser.cpp: In member function 'virtual bool
libetonyek::NUM3Parser::parseDocument()':
NUM3Parser.cpp:46:3: error: 'for_each' is not a member of 'std'
   std::for_each(sheetListRefs.begin(), sheetListRefs.end(),
std::bind(&NUM3Parser::parseSheet, this, std::placeholders::_1));

std::for_each needs <algorithm>.

--- src/lib/NUM3Parser.cpp.orig 2018-12-28 17:45:35.000000000 +0000
+++ src/lib/NUM3Parser.cpp
@@ -7,6 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */

+#include <algorithm>
 #include <functional>

 #include "NUM3Parser.h"

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.