diff options
Diffstat (limited to 'lib/factory.cpp')
-rw-r--r-- | lib/factory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/factory.cpp b/lib/factory.cpp index e07a2f2..6d9fe2c 100644 --- a/lib/factory.cpp +++ b/lib/factory.cpp @@ -23,7 +23,7 @@ FactoryRegistryEntry::~FactoryRegistryEntry(void) void FactoryRegistryEntry::arg_check(const PMCList &args, const size_t nargs) { if (args.size() != nargs) throw std::runtime_error(str(boost::format( - "factory expected %u arguments but for %u") % nargs % args.size())); + "factory expected %u arguments but got %u") % nargs % args.size())); } typedef std::map<std::string, boost::shared_ptr<FactoryRegistryEntry> > FactoryRegistryType; |