Skip to content

Commit da885b4

Browse files
authored
Add std:: to strings in Generator.cc/hh (#129)
Signed-off-by: Hill Ma <hillma@google.com>
1 parent 4779ef5 commit da885b4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Generator.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Generator::~Generator()
6767

6868
/////////////////////////////////////////////////
6969
bool Generator::Generate(const FileDescriptor *_file,
70-
const string &/*_parameter*/,
70+
const std::string &/*_parameter*/,
7171
OutputDirectory *_generatorContext,
7272
std::string * /*_error*/) const
7373
{

src/Generator.hh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ class Generator : public CodeGenerator
4444
/// \param[in] _generatorContext Output directory.
4545
/// \param[in] _error Unused string value
4646
public: virtual bool Generate(const FileDescriptor *_file,
47-
const string &_parameter,
47+
const std::string &_parameter,
4848
OutputDirectory *_generatorContext,
49-
string *_error) const;
49+
std::string *_error) const;
5050

5151
// private: GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Generator);
5252
};

0 commit comments

Comments
 (0)