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
This commit is contained in:
parent
f93eb6f5d1
commit
1018daa1e5
|
|
@ -10,6 +10,9 @@ tests/*.dll
|
||||||
tests/*.so
|
tests/*.so
|
||||||
lib/*
|
lib/*
|
||||||
|
|
||||||
|
# Example generated files
|
||||||
|
examples/bin/HardwareInfo.txt
|
||||||
|
|
||||||
# Feature page
|
# Feature page
|
||||||
build/scripts/features/index.html
|
build/scripts/features/index.html
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@ int main()
|
||||||
|
|
||||||
std::cout << oss.str() << std::endl;
|
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))
|
if (reportFile.Open(Nz::OpenMode_Text | Nz::OpenMode_Truncate | Nz::OpenMode_WriteOnly))
|
||||||
{
|
{
|
||||||
reportFile.Write(oss.str()); // Conversion implicite en Nz::String
|
reportFile.Write(oss.str()); // Conversion implicite en Nz::String
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue