aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/um/wrappers/nt_namespace/utils/convert_nt_path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'um/wrappers/nt_namespace/utils/convert_nt_path.cpp')
-rw-r--r--um/wrappers/nt_namespace/utils/convert_nt_path.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/um/wrappers/nt_namespace/utils/convert_nt_path.cpp b/um/wrappers/nt_namespace/utils/convert_nt_path.cpp
index ec215dc..b4500ee 100644
--- a/um/wrappers/nt_namespace/utils/convert_nt_path.cpp
+++ b/um/wrappers/nt_namespace/utils/convert_nt_path.cpp
@@ -8,16 +8,12 @@
#include <exception>
#include <iostream>
-int wmain(int argc, wchar_t* argv[])
-{
- try
- {
+int wmain(int argc, wchar_t* argv[]) {
+ try {
nt_namespace::Device dev;
for (int i = 1; i < argc; ++i)
std::wcout << dev.convert_nt_path(argv[i]) << L"\n";
- }
- catch (const std::exception& e)
- {
+ } catch (const std::exception& e) {
std::cerr << e.what() << "\n";
return 1;
}