mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-01 17:20:09 -06:00
Replaced std::getline usages with new ghoul::getline
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include <ghoul/filesystem/file.h>
|
||||
#include <ghoul/io/texture/texturereader.h>
|
||||
#include <ghoul/logging/logmanager.h>
|
||||
#include <ghoul/misc/stringhelper.h>
|
||||
#include <ghoul/opengl/texture.h>
|
||||
#include <iterator>
|
||||
#include <filesystem>
|
||||
@@ -110,7 +111,7 @@ void TransferFunction::setTextureFromTxt() {
|
||||
|
||||
std::string line;
|
||||
|
||||
while (std::getline(in, line)) {
|
||||
while (ghoul::getline(in, line)) {
|
||||
std::istringstream iss(line);
|
||||
std::string key;
|
||||
iss >> key;
|
||||
|
||||
Reference in New Issue
Block a user