Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0d2ca47

Browse files
committed
move template instatiation to cpp file
1 parent109463b commit0d2ca47

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

‎src/FirebaseArduino.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616

1717
#include"FirebaseArduino.h"
1818

19+
// This is needed to compile std::string on esp8266.
20+
templateclassstd::basic_string<char>;
21+
1922
voidFirebaseArduino::begin(const String& host,const String& auth) {
2023
http_.reset(FirebaseHttpClient::create());
2124
http_->setReuseConnection(true);

‎src/FirebaseArduino.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
#defineFIREBASE_ARDUINO_H
1919

2020
#include<string>
21-
// This is needed to compile std::string on esp8266.
22-
templateclassstd::basic_string<char>;
2321

2422
#include"Firebase.h"
2523
#include"FirebaseObject.h"

‎src/SerialTransceiver.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#include<string>
2-
// This is needed to compile std::string on esp8266.
3-
templateclassstd::basic_string<char>;
42

53
#include"modem/SerialTransceiver.h"
64
// Bring them into the base namespace for easier use in arduino ide.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp