minor fixes

This commit is contained in:
Akash Mozumdar 2019-02-20 02:19:30 -05:00
parent a64fa9b3dd
commit 241d5906e4
5 changed files with 4 additions and 6 deletions

View File

@ -15,4 +15,4 @@ add_executable(${PROJECT_NAME} WIN32
) )
target_link_libraries(${PROJECT_NAME} Qt5::Widgets shell32 winhttp) target_link_libraries(${PROJECT_NAME} Qt5::Widgets shell32 winhttp)
#install_qt5_libs(${PROJECT_NAME}) # can be commented out for consecutive builds install_qt5_libs(${PROJECT_NAME}) # can be commented out for consecutive builds

View File

@ -12,7 +12,6 @@
namespace namespace
{ {
struct Extension struct Extension
{ {
std::wstring name; std::wstring name;

View File

@ -10,9 +10,9 @@ public:
int delay; int delay;
private: private:
inline static HANDLE DUMMY;
std::atomic<int> requestsLeft; std::atomic<int> requestsLeft;
AutoHandle<Functor<DeleteTimerQueue>> timerQueue = CreateTimerQueue(); AutoHandle<Functor<DeleteTimerQueue>> timerQueue = CreateTimerQueue();
HANDLE DUMMY;
}; };
inline std::wstring StringToWideString(const std::string& text) inline std::wstring StringToWideString(const std::string& text)

View File

@ -65,7 +65,7 @@ private:
}; };
#ifdef _DEBUG #ifdef _DEBUG
#define TEST(...) inline AutoHandle<> TEST__RUNNER__DUMMY = CreateThread(nullptr, 0, [](auto) { __VA_ARGS__; return 0UL; }, NULL, 0, nullptr); #define TEST(...) inline auto TEST__RUNNER__DUMMY = CreateThread(nullptr, 0, [](auto) { __VA_ARGS__; return 0UL; }, NULL, 0, nullptr);
#else #else
#define TEST(...) #define TEST(...)
#endif #endif

View File

@ -114,8 +114,7 @@ Replacement commands must be formatted like this:
|ORIG|original_text|BECOMES|replacement_text|END| |ORIG|original_text|BECOMES|replacement_text|END|
All text in this file outside of a replacement command is ignored. All text in this file outside of a replacement command is ignored.
Whitespace in original_text is ignored, but replacement_text can contain spaces, newlines, etc. Whitespace in original_text is ignored, but replacement_text can contain spaces, newlines, etc.
This file must be encoded in Unicode (UTF-16 little endian). This file must be encoded in Unicode (UTF-16 little endian).)";
)";
const char* THREAD_LINKER = u8"Thread Linker"; const char* THREAD_LINKER = u8"Thread Linker";
const char* LINK = u8"Link"; const char* LINK = u8"Link";
const char* THREAD_LINK_FROM = u8"Thread number to link from"; const char* THREAD_LINK_FROM = u8"Thread number to link from";