From nobody Wed Apr 16 14:12:01 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Zd2yn36w9z5skhZ; Wed, 16 Apr 2025 14:12:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Zd2yn2Z18z3rN3; Wed, 16 Apr 2025 14:12:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744812721; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ddqBlpsAqrxr6FdAh7xgQfsBiZXux/BVQF11lDS9VE0=; b=gsDkUJBb0oKa6nE8RM1N2z3rKI5S6Ob18HOTY30xhX/6wVPKdL4aqZOVkiuvMSI4FmI/5Z pghEhsX5ON3wNwOFHhVlauZqyZlQlJlxugeUaPK4IcY/HZ8/Lz0MuSGALEbDJ55OQ/+h+V 1ti52Fuqaa+nHZVPr0brucDPnC/vgWttNrrPYf0ndVVT6cdxnpwbszzjayHSy72mfl3GaT 3I4OpMJKISzJQmh1iPAqIG+SbUd3uBJ+07aSI5tsESAKkxLJDUnWJQYkIVhS0kBuM+oZyz TCqqrEtkLEkg5kVazgPNob4dOfZKLmQxNHrIfzy9JCRSQ3k3FWOITJQWZjG4sA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1744812721; a=rsa-sha256; cv=none; b=TPV8ZD1XgskFvd1mz5Q4oZgfQcLiGigffMHrBosD5AVhxOaOzcup8JS4of5g6HP+jo5DcC TZRiAROzHAjH9s1PToS9i4DtRYUDL6g/4S7GvNozjId9fHvsZ4M8dYyoQ+CVr+MuIoEEUA 7w01WKW4ADJbJNvS83w8yEiA41qFqXFMNA/NkJS0NhFuV+WIyYEJ1uTc5KSobnhYkiHg60 8eVZZUNTBluA8tfTLSziuo0YA6erpP1xA0hU1gqiu6USJeHDkec+ZfgVUh/AEPQxumNCBo IClqCOrBzw1n5rP4d/RAnRaScGH4GZFWPa98R21N2c8Fv3T8IjrSXAp8lOE47Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744812721; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ddqBlpsAqrxr6FdAh7xgQfsBiZXux/BVQF11lDS9VE0=; b=HwEKBi0IFoSniaJHCwrrRpGvuvZuiDDaBET4CV7/gi3MGEkAr+79QM+vim3rcQjUrHn0R/ moOs7su2TUppjOmwL/ZUKKkxt/HSj/1axkaPV92QtzsWNyw556aHACUg+xwmjscyotoW70 ISwrHUzMLv8qT2bYoyCoPMBEa2UUHx75HkSXVAVh6ORfQV+Y836hv0r0wpqxDIATzR3h+o xbbnN9J3lImYMSUvofCsS0erTuUNGizV4sERI5uXJOJCT1FLrlFXm231h1vZzmh7WO1S6p V30m4tJsB8OQJALlDOwn/ZdrqiVx12KWXxNODEe5NtewQInSh59oO2PBgsSuTA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Zd2yn1x7Tz1LF3; Wed, 16 Apr 2025 14:12:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 53GEC1M9043453; Wed, 16 Apr 2025 14:12:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 53GEC1QZ043450; Wed, 16 Apr 2025 14:12:01 GMT (envelope-from git) Date: Wed, 16 Apr 2025 14:12:01 GMT Message-Id: <202504161412.53GEC1QZ043450@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 25f2634a1f4b - main - lutok: Switch from std::auto_ptr<> to std::unique_ptr<> List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 25f2634a1f4b27c9804b705e85bc104a2eac67b9 Auto-Submitted: auto-generated The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=25f2634a1f4b27c9804b705e85bc104a2eac67b9 commit 25f2634a1f4b27c9804b705e85bc104a2eac67b9 Author: John Baldwin AuthorDate: 2025-04-16 14:09:18 +0000 Commit: John Baldwin CommitDate: 2025-04-16 14:09:18 +0000 lutok: Switch from std::auto_ptr<> to std::unique_ptr<> This mirrors upstream commit bd5904144c9778a07685f3e4efa6ef011a5480ec. Reviewed by: igoro, imp, emaste Differential Revision: https://reviews.freebsd.org/D49788 --- contrib/lutok/stack_cleaner.hpp | 2 +- lib/liblutok/Makefile | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/contrib/lutok/stack_cleaner.hpp b/contrib/lutok/stack_cleaner.hpp index cd3e1468656f..3e3a8edc3b6f 100644 --- a/contrib/lutok/stack_cleaner.hpp +++ b/contrib/lutok/stack_cleaner.hpp @@ -72,7 +72,7 @@ class stack_cleaner { struct impl; /// Pointer to the shared internal implementation. - std::auto_ptr< impl > _pimpl; + std::unique_ptr< impl > _pimpl; /// Disallow copies. stack_cleaner(const stack_cleaner&); diff --git a/lib/liblutok/Makefile b/lib/liblutok/Makefile index abb6ecd13ad4..08737afbb61a 100644 --- a/lib/liblutok/Makefile +++ b/lib/liblutok/Makefile @@ -18,8 +18,4 @@ CFLAGS+= -I${SRCTOP}/contrib/lutok/include \ WARNS?= 3 SHLIB_MAJOR= 0 -# lutok uses auto_ptr -CFLAGS+= -Wno-deprecated-declarations -CXXSTD= c++11 - .include