From a130846efac9f515bcc3def237018d9fe5b4a6d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leclercq?= Date: Sat, 20 Aug 2016 17:12:20 +0200 Subject: [PATCH] Example/HardwareInfo: Fix generated file Former-commit-id: fc3d1f86313f4041102e1c0a95b07ef98b315942 [formerly bcca61fe71a9b1feae53b55bee728d9f2765e898] [formerly cc91f7aaa0f7a39f57b114781847fcfea8e6ea44 [formerly 285f8bf93ce25d27ac416413e7f04b906ab0a919]] Former-commit-id: adefe47d8d1613f1cc5b5f99d4230ed4dbb81547 [formerly 7db967dc9d1e2d2d866d10fe79867f77759b92ea] Former-commit-id: 2c16388727277916329cb36b8dd2319c7f71c19c --- .gitignore | 3 +++ examples/HardwareInfo/main.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 463291bc4..6266c2b6b 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,9 @@ tests/*.dll tests/*.so lib/* +# Example generated files +examples/bin/HardwareInfo.txt + # Feature page build/scripts/features/index.html diff --git a/examples/HardwareInfo/main.cpp b/examples/HardwareInfo/main.cpp index 401224315..820f42a62 100644 --- a/examples/HardwareInfo/main.cpp +++ b/examples/HardwareInfo/main.cpp @@ -94,7 +94,7 @@ int main() std::cout << oss.str() << std::endl; - Nz::File reportFile("RapportNz::HardwareInfo.txt"); + Nz::File reportFile("HardwareInfo.txt"); if (reportFile.Open(Nz::OpenMode_Text | Nz::OpenMode_Truncate | Nz::OpenMode_WriteOnly)) { reportFile.Write(oss.str()); // Conversion implicite en Nz::String