yse / easy_profiler

Lightweight profiler library for c++
MIT License
2.14k stars 184 forks source link

[Android] implicitly deleted functions #184

Open corporateshark opened 4 years ago

corporateshark commented 4 years ago

These warnings are shown when building via Android NDK r21

easy_profiler/include\easy/profiler_public_types.h:157:9: warning: explicitly defaulted default constructor is implicitly deleted [-Wdefaulted-function-deleted]
        CSwitchEvent() = default;
        ^
easy_profiler/include\easy/profiler_public_types.h:151:39: note: default constructor of 'CSwitchEvent' is implicitly deleted because base class 'profiler::Event' has a deleted default constructor
    class PROFILER_API CSwitchEvent : public Event
                                      ^
easy_profiler/include\easy/profiler_public_types.h:124:9: note: 'Event' has been explicitly marked deleted here
        Event() = delete;
        ^