Adapt code style.

pull/3375/head
Kim Kulling 2020-09-14 08:45:18 +02:00 committed by GitHub
parent 0e9621012c
commit 2901f68668
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 12 deletions

View File

@ -61,10 +61,8 @@ protected:
DeadlyErrorBase(Assimp::Formatter::format f); DeadlyErrorBase(Assimp::Formatter::format f);
template<typename... T, typename U> template<typename... T, typename U>
DeadlyErrorBase(Assimp::Formatter::format f, U&& u, T&&... args) DeadlyErrorBase(Assimp::Formatter::format f, U&& u, T&&... args) :
: DeadlyErrorBase(std::move(f << std::forward<U>(u)), std::forward<T>(args)...) DeadlyErrorBase(std::move(f << std::forward<U>(u)), std::forward<T>(args)...) {}
{
}
}; };
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
@ -75,20 +73,16 @@ class ASSIMP_API DeadlyImportError : public DeadlyErrorBase {
public: public:
/** Constructor with arguments */ /** Constructor with arguments */
template<typename... T> template<typename... T>
explicit DeadlyImportError(T&&... args) explicit DeadlyImportError(T&&... args) :
: DeadlyErrorBase(Assimp::Formatter::format(), std::forward<T>(args)...) DeadlyErrorBase(Assimp::Formatter::format(), std::forward<T>(args)...) {}
{
}
}; };
class ASSIMP_API DeadlyExportError : public DeadlyErrorBase { class ASSIMP_API DeadlyExportError : public DeadlyErrorBase {
public: public:
/** Constructor with arguments */ /** Constructor with arguments */
template<typename... T> template<typename... T>
explicit DeadlyExportError(T&&... args) explicit DeadlyExportError(T&&... args) :
: DeadlyErrorBase(Assimp::Formatter::format(), std::forward<T>(args)...) DeadlyErrorBase(Assimp::Formatter::format(), std::forward<T>(args)...) {}
{
}
}; };
#ifdef _MSC_VER #ifdef _MSC_VER