Skip to content

Commit 8c86b88

Browse files
committed
fixed type
1 parent dd77f3d commit 8c86b88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/Modbus/DataStores/DataStore.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
#ifndef MODBUS_DATASTORE_H_
1414
#define MODBUS_DATASTORE_H_
1515
#include <cstdint>
16+
using size_t = std::size_t;
1617

1718
namespace Modbus {
1819
class DataStore {
1920
protected:
20-
static const std::size_t kByteSize = 8;
21+
static const size_t kByteSize = 8;
2122
static const size_t kAddressStart = 0x00;
2223

2324
public:

0 commit comments

Comments
 (0)