From 1018daa1e5ae5b12c295fb6ca82334888232660d 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: 630e7c09a608ae3442d7f75ca7957938db505cb5 [formerly 886fb7052439151c752641117daa78a8d2f8d2ef] [formerly 2ad36b2270b027ecb31330a021229d60aad6e94e [formerly c641ef9008276b7891b2509cc78281c52f22a1e3]] Former-commit-id: 7f3ec7800d291c3ac45ed2ed69b51b96564ada4f [formerly 3df9d6ce614593a2b3dfaa28dc88ef50a432def5] Former-commit-id: e4fff6791544525cbeb0e9b2de43c8845475fad6 --- .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