Skip to content

Commit

Permalink
Silence deprecated copy ctor warnings when including decaf.hxx
Browse files Browse the repository at this point in the history
  • Loading branch information
fredmorcos committed Nov 23, 2023
1 parent 7ad71bd commit 4bb0d3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pdns/decafsigners.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
#include <decaf.hxx>
#pragma GCC diagnostic pop
#include <decaf/eddsa.hxx>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshadow"
Expand Down

0 comments on commit 4bb0d3a

Please sign in to comment.