'identifier' : inconsistent DLL linkage. dllexport assumed
The specified member function was declared in a class with dllexport linkage, and then was imported. This warning can also be caused by declaring a member function in a class with dllimport linkage as neither imported nor static nor inline.
The function was compiled as dllexport.