From owner-freebsd-hackers@freebsd.org Wed Jun 15 11:37:10 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D73C4A31B49 for ; Wed, 15 Jun 2016 11:37:10 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: from mail-yw0-x230.google.com (mail-yw0-x230.google.com [IPv6:2607:f8b0:4002:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F60C1C38 for ; Wed, 15 Jun 2016 11:37:10 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: by mail-yw0-x230.google.com with SMTP id g20so17299506ywb.0 for ; Wed, 15 Jun 2016 04:37:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuxi-nl.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ywcEN1Ka4YQswUja2r8N98n3XPhJ67pk8DD4XsiKAkk=; b=RiFm/24pVmE/cI4B5AjngdviGCWp0fjMsVl+MnI7nK1pnyv/so3MBWPSs5S5JihilR x4nRN2c22UlHPdg4zLByYgUOp3bx+EJXcW7RyQgtcbcl+L532dIGyTVh4uj3xx4UeExA KI2Yr/6f5r/sRWjAL0t9KjQfgghKeuVQ0ZTx5AoRLh7Fz33qJgc6ISHFs3zYTbWzyYbu KB+Bau0h9tznUGn9Qy1bS7Mj2TjN7mfazWytL1HvRSA70Bdlmda3ULYGL3CwVWq2up6x mPxpLwh8QXGNiELj3rc5iWfvxPNAWUrZFdScXSu1UEMjqd7DKoSwVi6agh/Sye/2aBCk 1mRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ywcEN1Ka4YQswUja2r8N98n3XPhJ67pk8DD4XsiKAkk=; b=IUtwMnUyd14wAqtuQm6HjOOcW7BBIykWwowN4hDXhL4LNkpKq4kZN8LusiMJcNshHk 6JMiKrd3cxRu17/Q81PdtZw/SNizy7GBpPakV86h47/FGA0NiKOc5YfJdLSnDzZDJEJI usIGJl2G6fRSnkGzwOClMKvAYTFK4bRnNxOyp89Ms6ygqaBPL7JixUbkbWLHP106W3c7 cOyZb7NZpEsUv47s54+WcNU23Mbmz47+vrgD9z8vyS/YD4tCeyYOx5frrORXg8pz6q4N 0rw4oo32XH+5ENcIVpD/I6sUghXe3fK7R44emhFqfENUytKpKuHX4aTc9LR/hqTr5nyJ 20yA== X-Gm-Message-State: ALyK8tKTj8MbqO/n3BH9r+rwzio5pSEECjTMnexsRvwH6GrlkaU6F2KSgtD6fiexALzNd142LE5fUAQhuUDNxw== X-Received: by 10.129.131.71 with SMTP id t68mr4605663ywf.116.1465990629566; Wed, 15 Jun 2016 04:37:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.201.199 with HTTP; Wed, 15 Jun 2016 04:37:09 -0700 (PDT) In-Reply-To: References: From: Ed Schouten Date: Wed, 15 Jun 2016 13:37:09 +0200 Message-ID: Subject: Re: /usr/include/c++/v1/map:837:5: error: static_assert failed "Allocator::value_type must be same type as value_type" To: Dimitry Andric Cc: =?UTF-8?B?T3RhY8OtbGlv?= , freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2016 11:37:10 -0000 2016-06-15 11:54 GMT+02:00 Dimitry Andric : > - Eigen::aligned_allocator > > KeyFrameAndPose; > + Eigen::aligned_allocator > > KeyFrameAndPose; Looking at the patch for Node, a const keyword should be added to the type itself, right? Eigen::aligned_allocator > > KeyFrameAndPose; -- Ed Schouten Nuxi, 's-Hertogenbosch, the Netherlands KvK-nr.: 62051717