Skip to content
Snippets Groups Projects
Commit 61d48b1e authored by Tom Tromey's avatar Tom Tromey
Browse files

libcc1: avoid a call to c_str

This is a trivial change to libcc1 to avoid an explicit call to c_str.
Passing by const reference is slightly less wordy.

libcc1

	* compiler.cc (make_regexp): Take const std::string.
	(cc1_plugin::compiler_triplet_regexp::find): Update.

parent 96deddca
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment