Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GCC 7 errors (inc. buffer size and fix TString conversion)
TString supports conversions to std::string and std::string_view in C++17 which causes ambiguity as std::string ctors and operators support both also. Compiler cannot decide which one to use. We have either call explicitly conversion operatator on TString (e.g., via static_cast) or use other methods (e.g. construct std::string from const char * TString::Data()). In some cases compiler says that buffers are too small. TStrings could also be removed and replaced with C++ standard functions. Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
- Loading branch information
David Abdurachmanov
authored and
David Abdurachmanov
committed
Feb 7, 2017
1 parent
4e8bdca
commit bbebe5a
Showing
4 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters