Skip to content

Commit 5618fdd

Browse files
committed
Use std::optional if available.
Currently, SDK requires C++11 minimum. So, boost::optional type is used for optional values. For C++17 and above more convenient is to use std::optional instead. The task NLAM-23 is about making this type configurable. This commit is a second part of the task: olp-cpp-sdk-authentication. Relates-To: NLAM-23 Signed-off-by: sopov <[email protected]>
1 parent 4b76a95 commit 5618fdd

File tree

1 file changed

+1
-1
lines changed
  • olp-cpp-sdk-authentication/include/olp/authentication

1 file changed

+1
-1
lines changed

olp-cpp-sdk-authentication/include/olp/authentication/TokenResult.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919

2020
#pragma once
2121

22-
#include <olp/core/porting/optional.hpp>
2322
#include <chrono>
2423
#include <ctime>
2524
#include <string>
2625

26+
#include <olp/core/porting/optional.hpp>
2727
#include "AuthenticationApi.h"
2828
#include "ErrorResponse.h"
2929

0 commit comments

Comments
 (0)