mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
fix parsing in debug file reader
Change-Id: I6812a2ea0336152a9f5d1bc9d95f30a91392cf79
This commit is contained in:

committed by
sys_ocldev

parent
f217c9198c
commit
95bd4a3d3a
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, Intel Corporation
|
||||
* Copyright (c) 2017 - 2018, Intel Corporation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@ -62,6 +62,7 @@ SettingsFileReader::SettingsFileReader(const char *filePath) {
|
||||
settingStringMap.insert(pair<string, string>(key, tempStringValue));
|
||||
}
|
||||
|
||||
ss.str(string()); // for reset string inside stringstream
|
||||
ss.clear();
|
||||
key.clear();
|
||||
}
|
||||
@ -96,4 +97,4 @@ std::string SettingsFileReader::getSetting(const char *settingName, const std::s
|
||||
|
||||
return returnValue;
|
||||
}
|
||||
};
|
||||
}; // namespace OCLRT
|
Reference in New Issue
Block a user