Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

Commit b23d474

Browse files
committed
preparation before to bump to v0.0.3
1 parent afacc95 commit b23d474

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

standalone/src/AppCore.hpp

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@
1414
#if defined(__EMSCRIPTEN__)
1515
#include <emscripten/emscripten.h>
1616
#else
17-
#include <cpptrace/cpptrace.hpp>
18-
inline void trace () {
19-
cpptrace::generate_trace ().print ();
20-
}
17+
#include <cpptrace/basic.hpp>
2118
#endif
2219

2320
constexpr int maxArguments = 128;
@@ -114,21 +111,18 @@ inline int runApp (int argc, const char* argv[]) {
114111
LOG_I_STREAM << "Starting " << AppContext::standaloneName << " ..." << "\n";
115112

116113
#ifdef EMSCRIPTEN
117-
LOG_I_STREAM << "C++ Running in Emscripten environment" << "\n";
114+
LOG_I_STREAM << "Running in Web environment" << "\n";
118115
#ifdef __EMSCRIPTEN_PTHREADS__
119-
LOG_I_STREAM << "Emscripten C++ with pthreads support" << "\n";
116+
LOG_I_STREAM << "pthreads support: Enabled" << "\n";
120117
#endif
121118
#else
122-
trace (); // just 4 fun
119+
cpptrace::generate_trace ().print ();
123120
#endif
124121

125122
if (handlesArguments (argc, argv) != 0) {
126123
return 1;
127124
}
128125

129-
// I know it is smartpointer, but ... why not
130-
uniqueLib = nullptr;
131-
132126
// demo error
133127
LOG_E_STREAM << "This is a demo error message" << "\n";
134128

0 commit comments

Comments
 (0)