Skip to content

Commit 8639243

Browse files
authored
Merge pull request #100 from Flamefire/typo
Fix typo uninit[i]alised
2 parents cd2f7fa + c9e26cf commit 8639243

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/scorepy/events.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ struct region_handle
2121
SCOREP_User_RegionHandle value = SCOREP_USER_INVALID_REGION;
2222
};
2323

24-
constexpr region_handle uninitalised_region_handle = region_handle();
24+
constexpr region_handle uninitialised_region_handle = region_handle();
2525

2626
static std::unordered_map<std::string, region_handle> regions;
2727
static std::unordered_map<std::string, region_handle> rewind_regions;
@@ -31,7 +31,7 @@ void region_begin(const std::string& region_name, std::string module, std::strin
3131
{
3232
auto& region_handle = regions[region_name];
3333

34-
if (region_handle == uninitalised_region_handle)
34+
if (region_handle == uninitialised_region_handle)
3535
{
3636
SCOREP_User_RegionInit(&region_handle.value, NULL, &SCOREP_User_LastFileHandle,
3737
region_name.c_str(), SCOREP_USER_REGION_TYPE_FUNCTION,

0 commit comments

Comments
 (0)