diff options
Diffstat (limited to 'meta-oe/recipes-benchmark/glmark2/files/Fix-deprecated-declarations.patch')
-rw-r--r-- | meta-oe/recipes-benchmark/glmark2/files/Fix-deprecated-declarations.patch | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/meta-oe/recipes-benchmark/glmark2/files/Fix-deprecated-declarations.patch b/meta-oe/recipes-benchmark/glmark2/files/Fix-deprecated-declarations.patch deleted file mode 100644 index 7a25de790..000000000 --- a/meta-oe/recipes-benchmark/glmark2/files/Fix-deprecated-declarations.patch +++ /dev/null | |||
@@ -1,61 +0,0 @@ | |||
1 | Index: git/src/image-reader.cpp | ||
2 | =================================================================== | ||
3 | --- git.orig/src/image-reader.cpp 2016-07-29 16:17:51.000000000 -0500 | ||
4 | +++ git/src/image-reader.cpp 2016-07-29 16:18:43.000000000 -0500 | ||
5 | @@ -120,7 +120,7 @@ | ||
6 | |||
7 | Log::debug("Reading PNG file %s\n", filename.c_str()); | ||
8 | |||
9 | - const std::auto_ptr<std::istream> is_ptr(Util::get_resource(filename)); | ||
10 | + const std::unique_ptr<std::istream> is_ptr(Util::get_resource(filename)); | ||
11 | if (!(*is_ptr)) { | ||
12 | Log::error("Cannot open file %s!\n", filename.c_str()); | ||
13 | return false; | ||
14 | Index: git/src/libmatrix/shader-source.cc | ||
15 | =================================================================== | ||
16 | --- git.orig/src/libmatrix/shader-source.cc 2016-07-29 16:18:14.000000000 -0500 | ||
17 | +++ git/src/libmatrix/shader-source.cc 2016-07-29 16:18:43.000000000 -0500 | ||
18 | @@ -34,7 +34,7 @@ | ||
19 | bool | ||
20 | ShaderSource::load_file(const std::string& filename, std::string& str) | ||
21 | { | ||
22 | - std::auto_ptr<std::istream> is_ptr(Util::get_resource(filename)); | ||
23 | + std::unique_ptr<std::istream> is_ptr(Util::get_resource(filename)); | ||
24 | std::istream& inputFile(*is_ptr); | ||
25 | |||
26 | if (!inputFile) | ||
27 | Index: git/src/model.cpp | ||
28 | =================================================================== | ||
29 | --- git.orig/src/model.cpp 2016-07-29 16:18:00.000000000 -0500 | ||
30 | +++ git/src/model.cpp 2016-07-29 16:18:43.000000000 -0500 | ||
31 | @@ -361,7 +361,7 @@ | ||
32 | |||
33 | Log::debug("Loading model from 3ds file '%s'\n", filename.c_str()); | ||
34 | |||
35 | - const std::auto_ptr<std::istream> input_file_ptr(Util::get_resource(filename)); | ||
36 | + const std::unique_ptr<std::istream> input_file_ptr(Util::get_resource(filename)); | ||
37 | std::istream& input_file(*input_file_ptr); | ||
38 | |||
39 | if (!input_file) { | ||
40 | @@ -681,7 +681,7 @@ | ||
41 | { | ||
42 | Log::debug("Loading model from obj file '%s'\n", filename.c_str()); | ||
43 | |||
44 | - const std::auto_ptr<std::istream> input_file_ptr(Util::get_resource(filename)); | ||
45 | + const std::unique_ptr<std::istream> input_file_ptr(Util::get_resource(filename)); | ||
46 | std::istream& inputFile(*input_file_ptr); | ||
47 | if (!inputFile) | ||
48 | { | ||
49 | Index: git/src/scene-jellyfish.cpp | ||
50 | =================================================================== | ||
51 | --- git.orig/src/scene-jellyfish.cpp 2016-07-29 16:18:08.000000000 -0500 | ||
52 | +++ git/src/scene-jellyfish.cpp 2016-07-29 16:18:43.000000000 -0500 | ||
53 | @@ -272,7 +272,7 @@ | ||
54 | { | ||
55 | Log::debug("Loading model from file '%s'\n", filename.c_str()); | ||
56 | |||
57 | - const std::auto_ptr<std::istream> input_file_ptr(Util::get_resource(filename)); | ||
58 | + const std::unique_ptr<std::istream> input_file_ptr(Util::get_resource(filename)); | ||
59 | std::istream& inputFile(*input_file_ptr); | ||
60 | if (!inputFile) | ||
61 | { | ||