vcpkg/ports/ignition-msgs6/01-Add_std_string.patch

30 lines
1.1 KiB
Diff
Raw Normal View History

diff --git a/src/Generator.cc b/src/Generator.cc
index d490b5a..4265845 100644
--- a/src/Generator.cc
+++ b/src/Generator.cc
@@ -67,7 +67,7 @@ Generator::~Generator()
/////////////////////////////////////////////////
bool Generator::Generate(const FileDescriptor *_file,
- const string &/*_parameter*/,
+ const std::string &/*_parameter*/,
OutputDirectory *_generatorContext,
std::string * /*_error*/) const
{
diff --git a/src/Generator.hh b/src/Generator.hh
index c0f2336..6132274 100644
--- a/src/Generator.hh
+++ b/src/Generator.hh
@@ -44,9 +44,9 @@ class Generator : public CodeGenerator
/// \param[in] _generatorContext Output directory.
/// \param[in] _error Unused string value
public: virtual bool Generate(const FileDescriptor *_file,
- const string &_parameter,
+ const std::string &_parameter,
OutputDirectory *_generatorContext,
- string *_error) const;
+ std::string *_error) const;
// private: GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Generator);
};