We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ff78aa commit ff43317Copy full SHA for ff43317
src/Utils.cpp
@@ -16,7 +16,7 @@ oatpp::String StaticFilesManager::getExtension(const oatpp::String& filename) {
16
if(dotPos != 0 && dotPos < filename->getSize() - 1) {
17
return oatpp::String((const char*)&filename->getData()[dotPos + 1], filename->getSize() - dotPos - 1);
18
}
19
- return oatpp::String::empty();
+ return nullptr;
20
21
22
oatpp::String StaticFilesManager::getFile(const oatpp::String& path) {
@@ -48,7 +48,7 @@ oatpp::String StaticFilesManager::guessMimeType(const oatpp::String& filename) {
48
49
50
51
52
53
54
oatpp::String loadFromFile(const char* fileName) {
0 commit comments