Skip to content

Commit

Permalink
Add missing include
Browse files Browse the repository at this point in the history
Fixes this build error on Linix:

memory_manager.h:134:58: error: ‘string’ in namespace ‘std’ does not
name a type
134 | bool add_block_to_memory_pool_by_name(const std::string& pool_name
    |                                                  ^~~~~~
  • Loading branch information
garfieldnate committed Dec 12, 2022
1 parent 6db1d7d commit c105b76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Core/SoarKernel/src/shared/memory_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include "kernel.h"

#include <unordered_map>
#include <string>

#ifndef _WIN32
#include <stdlib.h> // malloc
Expand Down

0 comments on commit c105b76

Please sign in to comment.