Skip to content
Snippets Groups Projects
Commit d969a85d authored by Axel Naumann's avatar Axel Naumann
Browse files

Fix TString / string_view conversion.

parent a8e23704
Branches
Tags
No related merge requests found
...@@ -31,8 +31,8 @@ TDrawingOptsReader::Attrs_t TDrawingOptsReader::ReadDefaults() ...@@ -31,8 +31,8 @@ TDrawingOptsReader::Attrs_t TDrawingOptsReader::ReadDefaults()
{ {
Attrs_t ret; Attrs_t ret;
TDrawingOptsReader reader(ret); TDrawingOptsReader reader(ret);
reader.AddFromStyleFile(TROOT::GetEtcDir() + "/system.rootstylerc"); reader.AddFromStyleFile(std::string(TROOT::GetEtcDir()) + "/system.rootstylerc");
reader.AddFromStyleFile(gSystem->GetHomeDirectory() + "/.rootstylerc"); reader.AddFromStyleFile(std::string(gSystem->GetHomeDirectory()) + "/.rootstylerc");
reader.AddFromStyleFile(".rootstylerc"); reader.AddFromStyleFile(".rootstylerc");
return ret; return ret;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment