Changed uint_fast8_t to uint8_t. The *fast* types are shit.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
9a5bad2335
commit
88751694a5
|
@ -6,7 +6,7 @@ if(${CMAKE_VERSION} VERSION_LESS 3.12)
|
|||
endif()
|
||||
|
||||
project(xdgcfg
|
||||
VERSION 0.4.1
|
||||
VERSION 0.5.0
|
||||
LANGUAGES CXX
|
||||
)
|
||||
# DESCRIPTION was introduced in version 3.9.
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
namespace fs = std::experimental::filesystem;
|
||||
#endif
|
||||
using std::string;
|
||||
using std::uint_fast8_t;
|
||||
using std::uint8_t;
|
||||
using std::cerr;
|
||||
using std::endl;
|
||||
|
||||
|
@ -46,7 +46,7 @@ public:
|
|||
*
|
||||
* @return 0 on success, 1 on I/O error, 2 on parse error.
|
||||
*/
|
||||
uint_fast8_t read();
|
||||
uint8_t read();
|
||||
|
||||
/*!
|
||||
* @brief Write the file
|
||||
|
|
|
@ -25,7 +25,7 @@ xdgcfg::xdgcfg(const string &filename, const string &subdir)
|
|||
_filepath /= filename;
|
||||
}
|
||||
|
||||
uint_fast8_t xdgcfg::read()
|
||||
uint8_t xdgcfg::read()
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
Reference in New Issue