Skip to content

Commit

Permalink
Merge pull request #1 from XinyuKhan/XinyuKhan-patch-1
Browse files Browse the repository at this point in the history
Update ClassLoader.h
  • Loading branch information
XinyuKhan authored Dec 2, 2024
2 parents ed54e86 + 544bac1 commit cb384be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Foundation/include/Poco/ClassLoader.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class ClassLoader
}
}

void loadLibrary(const std::string& path, const std::string& manifest)
void loadLibrary(const std::string& path, const std::string& manifest, int flags = 0)
/// Loads a library from the given path, using the given manifest.
/// Does nothing if the library is already loaded.
/// Throws a LibraryLoadException if the library
Expand All @@ -161,7 +161,7 @@ class ClassLoader
li.refCount = 1;
try
{
li.pLibrary = new SharedLibrary(path);
li.pLibrary = new SharedLibrary(path, flags);
li.pManifest = new Manif();
std::string pocoBuildManifestSymbol("pocoBuildManifest");
pocoBuildManifestSymbol.append(manifest);
Expand Down

0 comments on commit cb384be

Please sign in to comment.