Browse Source

Rename initRuntime() to initTime() in system.cpp.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
cb5a03c90e
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/system.cpp

+ 3
- 2
src/system.cpp View File

@@ -537,7 +537,7 @@ std::string getStackTrace() {
static int64_t startTime = 0;
#endif

static void initRuntime() {
static void initTime() {
#if defined ARCH_WIN
assert(startCounter == 0);
LARGE_INTEGER counter;
@@ -565,6 +565,7 @@ static void initRuntime() {
#endif
}


double getTime() {
#if defined ARCH_WIN
LARGE_INTEGER counter;
@@ -665,7 +666,7 @@ void runProcessDetached(const std::string& path) {


void init() {
initRuntime();
initTime();
}




Loading…
Cancel
Save