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
This commit is contained in:
parent
99b631d82f
commit
a130846efa
|
|
@ -10,6 +10,9 @@ tests/*.dll
|
|||
tests/*.so
|
||||
lib/*
|
||||
|
||||
# Example generated files
|
||||
examples/bin/HardwareInfo.txt
|
||||
|
||||
# Feature page
|
||||
build/scripts/features/index.html
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue