fix actor error

This commit is contained in:
matheuter 2023-04-20 17:31:42 +08:00
parent 4ab86338f1
commit 2ad291e975
3 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,6 @@
 #ifndef _ACTOR_H_
#define _ACTOR_H_
#include <cstdint> #include <cstdint>
#include <string> #include <string>
#include <memory> #include <memory>
@ -107,3 +109,5 @@ private:
*/ */
FunctionWapper m_invokeFunctionWapper; FunctionWapper m_invokeFunctionWapper;
}; };
#endif

View File

@ -16,8 +16,9 @@
** along with this program. If not, see <http://www.gnu.org/licenses/>. ** along with this program. If not, see <http://www.gnu.org/licenses/>.
**/ **/
#ifndef _ACTOR_H_
#define _ACTOR_H_
#pragma once
#include <cstdint> #include <cstdint>
#include <string> #include <string>
#include <memory> #include <memory>
@ -120,3 +121,5 @@ private:
*/ */
FunctionWapper m_invokeFunctionWapper; FunctionWapper m_invokeFunctionWapper;
}; };
#endif

View File

@ -16,7 +16,6 @@
** along with this program. If not, see <http://www.gnu.org/licenses/>. ** along with this program. If not, see <http://www.gnu.org/licenses/>.
**/ **/
#include "actorprocessor.h" #include "actorprocessor.h"
ActorProcessor::ActorProcessor(): ActorProcessor::ActorProcessor():
m_actorMap(new std::unordered_map<std::string, Actor*>) m_actorMap(new std::unordered_map<std::string, Actor*>)