Skip to content

Commit 9468b43

Browse files
committed
Add std to java binding specific code
1 parent 4df242c commit 9468b43

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/filepattern/cpp/internal/internal_pattern.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ void InternalPattern::sortFiles(){
227227
sort(this->valid_files_.begin(), this->valid_files_.end(), [comparator](Tuple& m1, Tuple& m2){
228228

229229
#ifdef JAVA_BINDING
230-
return comparator(get<1>(m1)[0], get<1>(m2)[0]);
230+
return comparator(std::get<1>(m1)[0], std::get<1>(m2)[0]);
231231
#else
232232
return comparator(std::get<1>(m1)[0].u8string(), std::get<1>(m2)[0].u8string());
233233
#endif

src/filepattern/cpp/pattern.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Tuple Pattern::getVariableMapMultDir(const std::string& filePath, const std::sma
159159
// iterate over matched files, checking if filename already exists
160160
for (auto& valid_file: this->valid_files_) {
161161
#ifdef JAVA_BINDING
162-
basename = s::getBaseName(s::to_string(get<1>(valid_file)[0])); // store the basename
162+
basename = s::getBaseName(s::to_string(std::get<1>(valid_file)[0])); // store the basename
163163
#else
164164
basename = s::getBaseName(std::get<1>(valid_file)[0].string()); // store the basename
165165
#endif
@@ -330,7 +330,7 @@ void Pattern::replaceOutputName(Tuple& min, Tuple& max, const std::string& var,
330330
if(std::get<0>(min)[var] == std::get<0>(max)[var]){
331331

332332
#ifdef JAVA_BINDING
333-
file = s::getBaseName(get<1>(min)[0]); // get basename of filepath
333+
file = s::getBaseName(std::get<1>(min)[0]); // get basename of filepath
334334
#else
335335
file = s::getBaseName((std::get<1>(min)[0]).string()); // get basename of filepath
336336
#endif
@@ -343,7 +343,7 @@ void Pattern::replaceOutputName(Tuple& min, Tuple& max, const std::string& var,
343343
temp = "(";
344344

345345
#ifdef JAVA_BINDING
346-
file = s::getBaseName(get<1>(min)[0]); // get basename of filepath
346+
file = s::getBaseName(std::get<1>(min)[0]); // get basename of filepath
347347
#else
348348
file = s::getBaseName((std::get<1>(min)[0]).string()); // get basename of filepath
349349
#endif
@@ -353,7 +353,7 @@ void Pattern::replaceOutputName(Tuple& min, Tuple& max, const std::string& var,
353353
temp += "-";
354354

355355
#ifdef JAVA_BINDING
356-
file = s::getBaseName(get<1>(max)[0]); // get basename of filepath
356+
file = s::getBaseName(std::get<1>(max)[0]); // get basename of filepath
357357
#else
358358
file = s::getBaseName((std::get<1>(max)[0]).string()); // get basename of filepath
359359
#endif

0 commit comments

Comments
 (0)