Skip to content

Commit 81809dd

Browse files
author
Semphris
committed
Fix problem with GCC 11 and Partio's ZIP manager (missing #include <memory>)
Closes #2219 on GitHub. Same fix, but puts the include closer to the copyright header.
1 parent 465ca1d commit 81809dd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

external/partio_zip/zip_manager.hpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
// SOURCE: https://github.com/wdas/partio/blob/main/src/lib/io/ZIP.h
2+
// NOTE: This file was edited for purposes of compatibility with SuperTux.
23

3-
/*
4+
// This include has been added to fix a problem with GCC 11+ (and maybe 10)
5+
#include <memory>
6+
7+
// =============================================================================
48

5-
NOTE: This file was edited for purposes of compatibility with SuperTux.
9+
/*
610
711
PARTIO SOFTWARE
812
Copyright 2010 Disney Enterprises, Inc. All rights reserved

0 commit comments

Comments
 (0)