todos and comments

This commit is contained in:
silverqx
2021-09-05 12:17:58 +02:00
parent 0a433d3b4f
commit 41b868f2eb
5 changed files with 5 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ else:unix {
LIBS += -lmysqlclient
}
# others
# Use faster linkers
clang: CONFIG *= use_lld_linker
else: CONFIG *= use_gold_linker
}

View File

@@ -474,6 +474,7 @@ namespace Orm
{
reconnectIfMissingConnection();
// CUR I'm able to get rid of TINYORM_DEBUG_SQL public macro, when I move line below, especially m_debugSql check to the cpp file, after that TINYORM_DEBUG_SQL will be private silverqx
// Elapsed timer needed
const auto countElapsed = !m_pretending && (m_debugSql || m_countingElapsed);

View File

@@ -98,6 +98,7 @@ namespace Relations {
// CUR do not forget to add new compiler/linker flags also to qmake build silverqx
// CUR use #pragma system_header when I will tune playground, https://docs.microsoft.com/en-us/cpp/preprocessor/system-header-pragma?view=msvc-160 silverqx
// CUR cmake, add support for multi-config generators silverqx
// CUR check hide_symbols on unix playgrournd, does it has effect on non-lib? silverqx
/*! Base model class. */
template<typename Derived, AllRelationsConcept ...AllRelations>
class Model :

View File

@@ -1,7 +1,7 @@
#pragma once
#ifndef TINYORM_EXPORT_H
#define TINYORM_EXPORT_H
// BUG TINY_DECL_IMPORT should has visibility("hidden") ? silverqx
#if defined(_MSC_VER) || defined(WIN64) || defined(_WIN64) || defined(__WIN64__) \
|| defined(WIN32) || defined(_WIN32) || defined(__WIN32__) \
|| defined(__NT__)

View File

@@ -13,7 +13,7 @@ else:unix {
# range-v3
QMAKE_CXXFLAGS += -isystem $$quote(/home/xyz/vcpkg/installed/x64-linux/include)
# others
# Use faster linkers
clang: CONFIG *= use_lld_linker
else: CONFIG *= use_gold_linker
}