summaryrefslogtreecommitdiffstats
path: root/Source/cmHexFileConverter.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-05-19 14:30:00 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-05-19 14:33:26 (GMT)
commit273257222ee6207dcb9ad290a08db5d6b7cc9db8 (patch)
tree0cc1b5bc33298f556f4438ba04dc689a9f4c09d1 /Source/cmHexFileConverter.h
parent7024fe33b8ea1d1fba3bf881f8c530688107c505 (diff)
downloadCMake-273257222ee6207dcb9ad290a08db5d6b7cc9db8.zip
CMake-273257222ee6207dcb9ad290a08db5d6b7cc9db8.tar.gz
CMake-273257222ee6207dcb9ad290a08db5d6b7cc9db8.tar.bz2
Source: change parameters to std::string
Diffstat (limited to 'Source/cmHexFileConverter.h')
-rw-r--r--Source/cmHexFileConverter.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmHexFileConverter.h b/Source/cmHexFileConverter.h
index 25278e4..cb5de8f 100644
--- a/Source/cmHexFileConverter.h
+++ b/Source/cmHexFileConverter.h
@@ -4,6 +4,7 @@
#define cmHexFileConverter_h
#include "cmConfigure.h" // IWYU pragma: keep
+#include <string>
/** \class cmHexFileConverter
* \brief Can detects Intel Hex and Motorola S-record files and convert them
@@ -19,8 +20,9 @@ public:
IntelHex,
MotorolaSrec
};
- static FileType DetermineFileType(const char* inFileName);
- static bool TryConvert(const char* inFileName, const char* outFileName);
+ static FileType DetermineFileType(const std::string& inFileName);
+ static bool TryConvert(const std::string& inFileName,
+ const std::string& outFileName);
};
#endif