Merge branch 'master' into common_base64

This commit is contained in:
Viktor Kovacs
2022-01-15 23:42:56 +01:00
committed by GitHub
3 changed files with 54 additions and 9 deletions

View File

@@ -288,15 +288,6 @@ AI_FORCE_INLINE bool IOSystem::PushDirectory( const std::string &path ) {
return true;
}
// ----------------------------------------------------------------------------
AI_FORCE_INLINE const std::string &IOSystem::CurrentDirectory() const {
if ( m_pathStack.empty() ) {
static const std::string Dummy;
return Dummy;
}
return m_pathStack[ m_pathStack.size()-1 ];
}
// ----------------------------------------------------------------------------
AI_FORCE_INLINE size_t IOSystem::StackSize() const {
return m_pathStack.size();