Changed uint_fast8_t to uint8_t. The *fast* types are shit.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2019-08-02 13:36:59 +02:00
parent 9a5bad2335
commit 88751694a5
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
3 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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

View 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
{