Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Arteiii committed Feb 16, 2024
1 parent 7cec417 commit ab2223a
Show file tree
Hide file tree
Showing 8 changed files with 420 additions and 17 deletions.
4 changes: 3 additions & 1 deletion Example/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "pch.h"

#include "../RegistryHelper.h"

int
main()
{
Expand Down Expand Up @@ -62,7 +64,7 @@ main()
}
} catch (const RegistryError& ex) {
std::cerr << "Registry Error: " << ex.what()
<< " (Error Code: " << ex.ErrorCode() << ")" << std::endl;
<< " (Error Code: " << ex.GetErrorCode() << ")" << std::endl;
} catch (const std::exception& ex) {
std::cerr << "Error: " << ex.what() << std::endl;
}
Expand Down
2 changes: 1 addition & 1 deletion Example/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define PCH_H

// add headers that you want to pre-compile here
#include "../RegistryInterface/RegistryHelper.h"

#include <iostream>

#endif // PCH_H
Loading

0 comments on commit ab2223a

Please sign in to comment.