Browse Source

testing

Signed-off-by: falkTX <falktx@falktx.com>
pull/272/head
falkTX 4 years ago
parent
commit
633e1a4c1a
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      dgl/src/ApplicationPrivateData.cpp

+ 2
- 1
dgl/src/ApplicationPrivateData.cpp View File

@@ -46,7 +46,8 @@ Application::PrivateData::PrivateData(const bool standalone)
char classNameBuf[256]; char classNameBuf[256];
std::srand((std::time(NULL))); std::srand((std::time(NULL)));
std::snprintf(classNameBuf, sizeof(classNameBuf), "%s_%d-%d-%p", std::snprintf(classNameBuf, sizeof(classNameBuf), "%s_%d-%d-%p",
DISTRHO_MACRO_AS_STRING(DGL_NAMESPACE), std::rand(), ++wc_count, this);
"TESTING", std::rand(), ++wc_count, this);
// DISTRHO_MACRO_AS_STRING(DGL_NAMESPACE)
classNameBuf[sizeof(classNameBuf)-1] = '\0'; classNameBuf[sizeof(classNameBuf)-1] = '\0';
d_stderr("--------------------------------------------------------------- className is %s", classNameBuf); d_stderr("--------------------------------------------------------------- className is %s", classNameBuf);




Loading…
Cancel
Save