mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-14 12:36:09 -05:00
Add advss namespace
Fixes name conflict with "Duration" class and typedef of the same name on MacOS
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
#include <curl/curl.h>
|
||||
#include <QLibrary>
|
||||
|
||||
namespace advss {
|
||||
|
||||
typedef CURL *(*initFunction)(void);
|
||||
typedef void (*cleanupFunction)(CURL *);
|
||||
typedef CURLcode (*setOptFunction)(CURL *, CURLoption, ...);
|
||||
@@ -42,3 +44,5 @@ inline CURLcode Curlhelper::SetOpt(CURLoption option, Args... args)
|
||||
}
|
||||
return _setopt(_curl, option, args...);
|
||||
}
|
||||
|
||||
} // namespace advss
|
||||
|
||||
Reference in New Issue
Block a user