Lioncash
48807e9a24
core/reporter: Allow moves into SaveToFile()
Taking the json instance as a constant reference, makes all moves into
the parameter non-functional, resulting in copies. Taking it by value
allows moves to function.
7 years ago
Lioncash
2321656dbe
core/reporter: Add missing includes and forward declarations
Adds missing inclusions to prevent potential compilation issues.
7 years ago
Lioncash
e721c344ae
core/reporter: Remove unnecessary namespace qualifiers
The Reporter class is part of the Core namespace, so the System class
doesn't need to be qualified.
7 years ago
Lioncash
6ec48af222
core/reporter: Remove pessimizing move in GetHLERequestContextData()
This can inhibit copy-elision, so we can remove this redundant move.
7 years ago
Lioncash
f12eb40834
core/reporter: Make bracing consistent
Makes all control statements braced, regardless of their size, making
code more uniform.
7 years ago
Lioncash
7ad11e3867
core/reporter: Return in error case in SaveToFile()
If the path couldn't be created, then we shouldn't be attempting to save
the file.
7 years ago
Thomas May
334e6370f9
Update reporter.cpp
7 years ago
Zach Hilman
b77fde7c5c
loader: Move NSO module tracking to AppLoader
Also cleanup of general stuff
7 years ago
Zach Hilman
2dde8f5cfe
core: Add Reporter class to take/save reports
7 years ago